mirror of
https://github.com/MaskRay/ccls.git
synced 2024-11-22 07:35:08 +00:00
Visual Studio Code: mention ccls.misc.compilationDatabaseDirectory
parent
ea41776be1
commit
a75ff2c80d
@ -40,6 +40,16 @@ If for whatever reason you cannot generate a `compile_commands.json` file, you
|
||||
can add the flags to the `ccls.clang.extraArgs` configuration
|
||||
option.
|
||||
|
||||
### `ccls.misc.compilationDatabaseDirectory`
|
||||
|
||||
In case `compile_commands.json` is located not in default place ($root)
|
||||
|
||||
```javascript
|
||||
"ccls.misc.compilationDatabaseDirectory": "build"
|
||||
```
|
||||
|
||||
In this case it is located in `$root/build/compile_commands.json`
|
||||
|
||||
### Semantic highlighting
|
||||
|
||||
The Visual Studio Code ccls extension supports [semantic highlighting](https://medium.com/@evnbr/coding-in-color-3a6db2743a1e). To enable, put into settings.conf (or workspace configuration):
|
||||
|
Loading…
Reference in New Issue
Block a user