mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-09-24 21:10:12 +01:00
Setting "type" to bright red to make comparison obvious: (screenshots taken from VSCode) Before <img width="446" height="150" alt="Screenshot 2026-07-20 135558" src="https://github.com/user-attachments/assets/81249005-99f1-47bb-af4f-ad6e8f2404fb" /> After <img width="429" height="149" alt="Screenshot 2026-07-20 135738" src="https://github.com/user-attachments/assets/acc83086-fe19-4a18-a833-968daed56229" /> I'm not super familiar with textmate/highlightjs, but I think what was happening on line 5 is that the "type" scope is being extended to the `=` after `.y`. Adding `,` as an "end" token fixes this, and I think this is what highlightjs already does. I've also added "unused" as a keyword.
Carbon Language
This extension provides support for the Carbon Language.
This extension is currently experimental, and being developed alongside Carbon.
Quickstart
- Download and install a
carbonrelease.- By default, the extension will look for
carbonunder./bazel-bin. This is for developers actively working on Carbon and running VS Code inside a carbon-lang clone.
- By default, the extension will look for
- Install the Carbon Language extension.
- Configure the installed path to
carbon.
Configuration
The configuration is under carbon.*. At present, the only configuration is the
path to the carbon binary. This looks like:
"carbon.carbonPath": "/path/to/carbon"
Communication
See Carbon's
collaboration systems.
We're most active on Discord and have a
#editor-integrations channel. We'll also respond to questions on
GitHub Discussions.
Documentation
Carbon currently only has project-level documentation. See the GitHub repository.