Visual Studio Code: mention ccls.misc.compilationDatabaseDirectory

Hanoh Haim 2019-10-07 12:53:34 +03:00 committed by Fangrui Song
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):