diff --git a/Visual-Studio-Code.md b/Visual-Studio-Code.md index fb52245..e476305 100644 --- a/Visual-Studio-Code.md +++ b/Visual-Studio-Code.md @@ -5,10 +5,21 @@ Install the ccls extension from the marketplace [here](https://marketplace.visua If you run into issues, you can view debug output by running the (`F1`) `View: Toggle Output` command and opening the `ccls` output section. -To load vscode-ccls without installing: +To use the vscode-ccls extension without installing it, you can launch VS code from the comand-line with the name of the extension as a command argument: +Example: + +```bash +code vscode-ccls +``` + +You probably will want to configure the vscode-ccls plugin before initial use. +To access the configuration while running VS Code. This may be perfomed via the _Command Pallete_. +(Hint: "Ctrl+Shift+P", or View->Command Pallete.), and enter the following text: + +* `@ext:ccls-project.ccls` + +Now you may start using the features of vscode-ccls with your development project. -* `code vscode-ccls` -* Press F5 * Open the project root with "Open Folder" (C-k C-o) After changing some ccls configurations in `settings.json`, trigger the command `ccls: Restart language server` or reload the plugin to take effect.