A guide of developing vscode-clangd
extension.
vscode-clangd
extension in VS Code.$ cd /path/to/clang-tools-extra/clangd/clients/clangd-vscode/ $ npm install $ code . # When VS Code starts, press <F5>.
Please follow the exsiting code style when contributing to the extension, we recommend to run npm run format
before sending a patch.
New changes to clangd-vscode
are not released until a new version is published to the marketplace.
vsce
command (npm install -g vsce
)llvm-vs-code-extensions
accountpackage.json
, and commit the change to upstreamThe extension is published under llvm-vs-code-extensions
account, which is currently maintained by clangd developers. If you want to make a new release, please contact clangd-dev@lists.llvm.org.
$ cd /path/to/clang-tools-extra/clangd/clients/clangd-vscode/ # For the first time, you need to login in the account. vsce will ask you for the Personal Access Token, and remember it for future commands. $ vsce login llvm-vs-code-extensions # Publish the extension to the VSCode marketplace. $ npm run publish