Add information about ccls.clang.resourceDir

Duncan Ogilvie 2021-12-19 01:58:53 +01:00
parent 0c71fe0e1e
commit 68631a7f06

@ -71,6 +71,10 @@ Now you may start using the features of vscode-ccls with your development projec
* Open the project root with "Open Folder" (<kbd>C-k C-o</kbd>) * Open the project root with "Open Folder" (<kbd>C-k C-o</kbd>)
### `ccls.clang.resourceDir`
On Macos you might run into issues with certain includes (`stddef.h stdint.h`) not being found. To fix this you need to set the resource directory to the output of `clang -print-resource-dir`. The default value is hardcoded at ccls _compile_ time, so unless you compile it yourself this will not work.
### Semantic highlight ### Semantic highlight
<img src="https://raw.githubusercontent.com/MaskRay/ccls-static/master/vscode-ccls/highlight.webp" title="semantic highlight"> <img src="https://raw.githubusercontent.com/MaskRay/ccls-static/master/vscode-ccls/highlight.webp" title="semantic highlight">