mirror of
https://github.com/MaskRay/ccls.git
synced 2024-11-25 00:55:08 +00:00
Describe compilationDatabaseDirectory
initialization option
parent
ab5b117e3f
commit
0eb303a8fe
@ -159,6 +159,16 @@ supports LSP snippets but you don't like them, set the option to `false`.
|
|||||||
|
|
||||||
Example: `{"client": {"snippetSupport": false}}`
|
Example: `{"client": {"snippetSupport": false}}`
|
||||||
|
|
||||||
|
#### `compilationDatabaseDirectory`
|
||||||
|
|
||||||
|
Default: `""`
|
||||||
|
|
||||||
|
If not empty, look for `compile_commands.json` in it, otherwise the file is retrieved in the project root.
|
||||||
|
|
||||||
|
Useful when using out-of-tree builds with the compilation database being generated in the build directory.
|
||||||
|
|
||||||
|
Example: `{"compilationDatabaseDirectory": "out/release"}`
|
||||||
|
|
||||||
#### `diagnostics.onOpen` / `diagnostics.onChange` / `diagnostics.onSave`
|
#### `diagnostics.onOpen` / `diagnostics.onChange` / `diagnostics.onSave`
|
||||||
|
|
||||||
Default: `onOpen`: `0` / `onChange`: `1000` / `onSave`: `0`
|
Default: `onOpen`: `0` / `onChange`: `1000` / `onSave`: `0`
|
||||||
|
Loading…
Reference in New Issue
Block a user