NodeJS is required to build the extension. You will also need to install vsce
and ovsx:
npm install -g @vscode/vsce ovsx
This installs vsce and ovsx to /usr/local/bin. Ensure that
/usr/local/bin is in your $PATH environment variable to use it.
Build and install:
Locally:
npm install && vsce package -o carbon.vsix && code --install-extension carbon.vsix
From a remote SSH host using VS Code Server:
npm install && vsce package -o carbon.vsix && ~/.vscode-server/cli/servers/Stable-*/server/bin/code-server --install-extension carbon.vsix
Using the UI:
npm install && vsce package -o carbon.vsix && realpath carbon.vsix
Publish a new release:
package.json.npm install && vsce package -o carbon.vsix && realpath carbon.vsixinfra-role@carbon-lang.dev for publishing; the GitHub
account CarbonInfraBot can also be used for login. Contact leads
if you require access.carbon.vsix file.bazel build //toolchain in project root.To update dependencies, run npm update.