This repository has been archived by the owner on Jul 30, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 162
Visual Studio Code
Jacob Dufault edited this page Jan 7, 2018
·
15 revisions
If for whatever reason you cannot generate a compile_commands.json
file, you
can add the flags to the cquery.index.extraClangArguments
configuration
option.
If you wish to modify the vscode extension, you will need to build it locally. Luckily, it is pretty easy - the only dependency is npm.
# Build extension
$ cd vscode-client
$ npm install
$ code .
When VSCode is running, you can hit F5
to build and launch the extension
locally.
# Setup (just needs to be done once)
npm install -g vsce
# Package extension as vsix
cd vscode-client
python build.py
This will then create a vscode-extension.vsix package in the top-level cquery folder.