Index: clangd/clients/clangd-vscode/README.md =================================================================== --- clangd/clients/clangd-vscode/README.md +++ clangd/clients/clangd-vscode/README.md @@ -49,3 +49,28 @@ $ code . # When VS Code starts, press . ``` + +## Publish to VS Code Marketplace + +Everytime you make a change to `clangd-vscode`, you are expected to publish a +new version to the Extension Marketplace. + +### Requirements + +* Make sure install the `vsce` command (`npm install -g vsce`) +* `llvm-vs-code-extensions` account + +The 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 cfe-dev@lists.llvm.org. + +### Steps + +```bash + $ 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 account password, and remember it for future commands. + $ vsce login llvm-vs-code-extensions + $ vsce publish +``` +