Meta: Add section to CLion Configuration Docs about including headers

This commit is contained in:
Tobias Christiansen 2021-09-19 21:51:44 +02:00 committed by Andreas Kling
parent 0cedb7a7c4
commit f6ffa09437
Notes: sideshowbarker 2024-07-18 03:37:57 +09:00

View file

@ -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