VS Code Extension for Carbon
Currently only contains basic syntax highlighting.
Installing
- Install Node JS.
- To generate VS Code extension file (.vsix).
npm install && npm run package
- Install the extension
code --install-extension out/carbon.vsix
Development
bazel build //toolchain
in project root.- Open utils/vscode folder in VS Code.
- Launch the extension using Run command (F5).
- In the opened window, open the carbon-lang repository as folder.
- Open a carbon file.
- Open code outline (Ctrl+Shift+O).
To update dependencies:
npm update