dododevrai
This commit is contained in:
parent
50a77ac91d
commit
8c1fd79b3f
2 changed files with 3 additions and 24 deletions
24
.clangd
24
.clangd
|
|
@ -1,25 +1,3 @@
|
||||||
CompileFlags:
|
CompileFlags:
|
||||||
# General flags for all files
|
# Add: [-Wall -Wextra -Werror -pedantic -std=c++20 -Wold-style-cast]
|
||||||
Add: [-Wall]
|
|
||||||
|
|
||||||
# Configuration block for C++ files
|
|
||||||
---
|
|
||||||
If:
|
|
||||||
PathMatch: .*/.cc
|
|
||||||
CompileFlags:
|
|
||||||
CompilationDatabase: "cmake"
|
CompilationDatabase: "cmake"
|
||||||
# Add: [
|
|
||||||
# # path to your include folder
|
|
||||||
# -I/usr/shar/include,
|
|
||||||
# # or path to your header file
|
|
||||||
# # --include=E:\path\to\your\file\file.h,
|
|
||||||
# # you can include other clang flags (clang NOT clangd!)
|
|
||||||
# -std=c++20,
|
|
||||||
# ]
|
|
||||||
|
|
||||||
# Configuration block for C files (optional)
|
|
||||||
---
|
|
||||||
If:
|
|
||||||
PathMatch: .*/.c
|
|
||||||
CompileFlags:
|
|
||||||
Add: [-std=c11]
|
|
||||||
|
|
|
||||||
3
lsp.md
3
lsp.md
|
|
@ -26,4 +26,5 @@ Donc on va faire avec en attendant
|
||||||
|
|
||||||
## Update
|
## Update
|
||||||
|
|
||||||
**ÇA MARCHE** (jsp si c'est grace au clangd ou la commande cmake mais oklm)
|
**ÇA MARCHE**
|
||||||
|
Il suffit de rappeler la commande cmake qui génèrera le `compile_commands.json`lors de la mise en place du projet
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue