diff --git a/Visual-Studio-Code.md b/Visual-Studio-Code.md index 8630ee3..fb52245 100644 --- a/Visual-Studio-Code.md +++ b/Visual-Studio-Code.md @@ -34,7 +34,12 @@ You can set: or use a global cache directory: ```javascript -"ccls.cache.directory": "/tmp/ccls-cache/" +// Linux, *BSD +"ccls.cache.directory": "${env:HOME}/.cache/ccls-cache", +// macOS +"ccls.cache.directory": "${env:TMPDIR}/.cache/ccls-cache", +// Windows +"ccls.cache.directory": "${env:TEMP}/ccls-cache", ``` ### `ccls.clang.extraArgs`