From 8c1fd79b3f35ef351ed7a22221b5767010a8ea66 Mon Sep 17 00:00:00 2001 From: Guillem George Date: Fri, 27 Feb 2026 22:37:08 +0100 Subject: [PATCH] dododevrai --- .clangd | 24 +----------------------- lsp.md | 3 ++- 2 files changed, 3 insertions(+), 24 deletions(-) diff --git a/.clangd b/.clangd index 87353fc..e00ae42 100644 --- a/.clangd +++ b/.clangd @@ -1,25 +1,3 @@ CompileFlags: - # General flags for all files - Add: [-Wall] - -# Configuration block for C++ files ---- -If: - PathMatch: .*/.cc -CompileFlags: + # Add: [-Wall -Wextra -Werror -pedantic -std=c++20 -Wold-style-cast] 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] diff --git a/lsp.md b/lsp.md index 1f1115c..364a402 100644 --- a/lsp.md +++ b/lsp.md @@ -26,4 +26,5 @@ Donc on va faire avec en attendant ## 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