From bc6debe896395876017afd276f192915685c31ee Mon Sep 17 00:00:00 2001 From: Fangrui Song Date: Wed, 16 Oct 2019 21:33:13 -0700 Subject: [PATCH] Visual-Studio-Code: ccls.cache.directory --- Visual-Studio-Code.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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`