hanchenye-llvm-project/clang-tools-extra/clangd/clients/clangd-vscode
Ilya Biryukov b33c15741b [clangd] Add support for snippet completions
Enhances CompletionItemsCollector in such a way that snippet
completions can be presented to the client. Enable snippet completion
items by specifying -enable-snippets while invoking the clangd
executable.

See: https://github.com/Microsoft/language-server-protocol/blob/master/protocol.md#completion-request
See: https://github.com/Microsoft/vscode/blob/master/src/vs/editor/contrib/snippet/browser/snippet.md

Patch by Raoul Wols.

llvm-svn: 313029
2017-09-12 13:57:14 +00:00
..
.vscode
src [clangd] Add support for snippet completions 2017-09-12 13:57:14 +00:00
test
.gitignore
.vscodeignore
README.txt
package.json [clangd] Add support for snippet completions 2017-09-12 13:57:14 +00:00
tsconfig.json
vsc-extension-quickstart.md

README.txt

A *toy* VS Code integration for development purposes.

Steps:
1. Make sure you have clangd in /usr/bin/clangd or edit src/extension.ts to
point to the binary.
2. Make sure you have nodejs and npm installed.
3. Make sure you have VS Code installed.
4. In order to start a development instance of VS code extended with this, run:
   $ npm install
   $ code .
   When VS Code starts, press <F5>.