Updated Visual Studio Code (markdown)

Smit-tay 2020-04-10 09:29:54 +02:00 committed by Fangrui Song
parent 125e504d5e
commit 75e8940e52

@ -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 If you run into issues, you can view debug output by running the
(`F1`) `View: Toggle Output` command and opening the `ccls` output section. (`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" (<kbd>C-k C-o</kbd>) * Open the project root with "Open Folder" (<kbd>C-k C-o</kbd>)
After changing some ccls configurations in `settings.json`, trigger the command `ccls: Restart language server` or reload the plugin to take effect. After changing some ccls configurations in `settings.json`, trigger the command `ccls: Restart language server` or reload the plugin to take effect.