mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-22 07:30:19 +00:00
Meta: Add section to CLion Configuration Docs about including headers
This commit is contained in:
parent
0cedb7a7c4
commit
f6ffa09437
Notes:
sideshowbarker
2024-07-18 03:37:57 +09:00
Author: https://github.com/TobyAsE Commit: https://github.com/SerenityOS/serenity/commit/f6ffa09437c Pull-request: https://github.com/SerenityOS/serenity/pull/10145
1 changed files with 7 additions and 0 deletions
|
@ -39,6 +39,13 @@ want exclude Toolchain files as well, follow the same procedure with the followi
|
|||
- `Toolchain/Tarballs`
|
||||
- `Toolchain/Build`
|
||||
|
||||
## Include headers and source files for code insight
|
||||
|
||||
To get proper code insight mark the folders `AK`, `Kernel` and `Userland` by right-clicking on them and selecting `Mark Directory as | Project Sources and Headers`.
|
||||
|
||||
A symptom of this not being configured correctly is CLion giving a warning for every single file:
|
||||
> The file does not belong to any project target, code insight features might not work properly.
|
||||
|
||||
## Code Generation Settings
|
||||
|
||||
To make code generated by CLion (e.g. identifier names, const placement) match the SerenityOS coding style, change the
|
||||
|
|
Loading…
Reference in a new issue