forked from OSchip/llvm-project
bf11424b7f
Summary: The client can send notifications when it detects watched files have changed. This patch adds the protocol handling for this type of notification. For now, the notification will be passed down to the ClangdServer, but it will not be acted upon. However, this will become useful for the indexer to react to file changes. The events could also potentially be used to invalidate other caches (compilation database, etc). This change also updates the VSCode extension so that it sends the events. Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com> Reviewers: ilya-biryukov, Nebiroth Subscribers: ilya-biryukov Tags: #clang-tools-extra Differential Revision: https://reviews.llvm.org/D38422 llvm-svn: 314693 |
||
---|---|---|
.. | ||
.vscode | ||
src | ||
test | ||
.gitignore | ||
.vscodeignore | ||
README.txt | ||
package.json | ||
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>.