From 68631a7f06e803ad1af9491df26eca674c029cbb Mon Sep 17 00:00:00 2001 From: Duncan Ogilvie Date: Sun, 19 Dec 2021 01:58:53 +0100 Subject: [PATCH] Add information about ccls.clang.resourceDir --- Visual-Studio-Code.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Visual-Studio-Code.md b/Visual-Studio-Code.md index 38b2b5c..9a1696b 100644 --- a/Visual-Studio-Code.md +++ b/Visual-Studio-Code.md @@ -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" (C-k C-o) +### `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