From f7090e589540407e01e9812334a5c8fafae5ba4f Mon Sep 17 00:00:00 2001 From: WillyJL Date: Tue, 30 Jun 2026 21:03:00 +0200 Subject: [PATCH] Clangd: Add clangd parameters in IDE agnostic config file (#4319) * Clangd: Add clangd parameters in IDE agnostic config file * Fix for uFBT too --- .clangd | 4 ++++ scripts/ufbt/project_template/.clangd | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/.clangd b/.clangd index 12e13751d..70a1bf4bb 100644 --- a/.clangd +++ b/.clangd @@ -4,6 +4,10 @@ CompileFlags: - -Wno-format Remove: - -mword-relocations + CompilationDatabase: "./build/latest" + +Completion: + HeaderInsertion: Never Diagnostics: ClangTidy: diff --git a/scripts/ufbt/project_template/.clangd b/scripts/ufbt/project_template/.clangd index 12e13751d..0e6e141bd 100644 --- a/scripts/ufbt/project_template/.clangd +++ b/scripts/ufbt/project_template/.clangd @@ -4,6 +4,10 @@ CompileFlags: - -Wno-format Remove: - -mword-relocations + CompilationDatabase: "./.vscode" + +Completion: + HeaderInsertion: Never Diagnostics: ClangTidy: