From 75e8940e524ebe5ff8a787af278bf453fef08eb8 Mon Sep 17 00:00:00 2001 From: Smit-tay Date: Fri, 10 Apr 2020 09:29:54 +0200 Subject: [PATCH] Updated Visual Studio Code (markdown) --- Visual-Studio-Code.md | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) 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.