Skip to content

Commit 80d4cbe

Browse files
istudyatunirwols
authored andcommitted
docs: add info about enabling clangd server
1 parent 7ad3911 commit 80d4cbe

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

docs/src/guides/cplusplus.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,3 +78,18 @@ Another way to let your language server know what the include dirs are is by han
7878
your source root. Each line is one flag. This can be useful for projects that e.g. only have a Visual Studio solution
7979
file. For more information, see [these instructions](https://releases.llvm.org/8.0.0/tools/clang/tools/extra/docs/clangd/Installation.html#compile-flags-txt). Creating this file by hand is a reasonable place to start if your project is quite
8080
simple.
81+
82+
### Enable clangd server
83+
84+
After setup enable clangd server manually in `Preferences - Package Settings - LSP - Settings`:
85+
86+
```jsonc
87+
{
88+
// ...
89+
"clients": {
90+
"clangd": {
91+
"enabled": true
92+
}
93+
}
94+
}
95+
```

0 commit comments

Comments
 (0)