docs: Fix clangd index cache directory
Change-Id: I25a1e4eb5372a5089bd877a907e75887f5e971de Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5077493 Reviewed-by: Ivan Šandrk <isandrk@chromium.org> Commit-Queue: Henrique Ferreiro <hferreiro@igalia.com> Cr-Commit-Position: refs/heads/main@{#1232366}
This commit is contained in:

committed by
Chromium LUCI CQ

parent
dbe577ec77
commit
cb65542f44
@ -129,8 +129,9 @@ compilation database). The index improves code navigation features
|
||||
|
||||
* clangd only uses idle cores to build the index, you can limit the total amount
|
||||
of cores by passing the *-j=\<number\>* flag;
|
||||
* the index is saved to the `.clangd/index` in the project root; index shards
|
||||
for common headers e.g. STL will be stored in *$HOME/.clangd/index*;
|
||||
* the index is saved to the `.cache/clangd/index` in the project root; index
|
||||
shards for common headers e.g. STL will be stored in
|
||||
*$HOME/.cache/clangd/index*;
|
||||
* background indexing can be disabled by the `--background-index=false` flag;
|
||||
Note that, disabling background-index will limit clangd’s knowledge about your
|
||||
codebase to files you are currently editing.
|
||||
|
Reference in New Issue
Block a user