mirror of
https://github.com/MaskRay/ccls.git
synced 2024-11-22 15:45:08 +00:00
Rework instructions for ccls.cacheDirectory
parent
655269f1d2
commit
e80455946a
@ -15,10 +15,23 @@ To load vscode-ccls without installing:
|
|||||||
To tell the extension where to find ccls, either add ccls to your `PATH` or set "ccls.launch.command" in User Settings to the absolute path pointing to ccls.
|
To tell the extension where to find ccls, either add ccls to your `PATH` or set "ccls.launch.command" in User Settings to the absolute path pointing to ccls.
|
||||||
|
|
||||||
```json
|
```json
|
||||||
{
|
"ccls.launch.command": "/path/to/ccls/Release/ccls",
|
||||||
"ccls.launch.command": "/path/to/ccls/Release/ccls",
|
```
|
||||||
"ccls.cacheDirectory": "/tmp/.ccls-cache/"
|
|
||||||
}
|
### `ccls.cacheDirectory`
|
||||||
|
|
||||||
|
By default, ccls will store indexes in `.ccls-cache` of the workspace (more technically, the current working directory of ccls, which may not be what you think is the workspace root).
|
||||||
|
|
||||||
|
You can set:
|
||||||
|
|
||||||
|
```javascript
|
||||||
|
"ccls.cacheDirectory": "${workspaceFolder}/.ccls-cache/"
|
||||||
|
```
|
||||||
|
|
||||||
|
or use a global cache directory:
|
||||||
|
|
||||||
|
```javascript
|
||||||
|
"ccls.cacheDirectory": "/tmp/ccls-cache/"
|
||||||
```
|
```
|
||||||
|
|
||||||
### `ccls.clang.extraArgs`
|
### `ccls.clang.extraArgs`
|
||||||
|
Loading…
Reference in New Issue
Block a user