mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 14:37:45 +00:00
Documentation: Recommend disabling clangd's IncludeCleaner feature
This commit is contained in:
parent
e6762e8d4d
commit
713698d2ca
3 changed files with 15 additions and 0 deletions
|
@ -6,6 +6,10 @@ The following `.clangd` should be placed in the project root:
|
|||
CompileFlags:
|
||||
CompilationDatabase: Build/x86_64 # Or whatever architecture you're targeting, e.g. aarch64
|
||||
Add: [-D__serenity__]
|
||||
|
||||
Diagnostics:
|
||||
UnusedIncludes: None
|
||||
MissingIncludes: None
|
||||
```
|
||||
|
||||
You also need to configure the clangd server to detect headers properly from the Serenity toolchain. To do this, create a `.helix/languages.toml` file in the project root:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue