mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-10-01 06:04:56 +01:00
Add hover cards and jump to declaration / definition / reference for the formatted SemIR that appears in check tests. This is done by adding a heuristic "parser" for SemIR to the language server. The cross-references are strictly best-effort, since this is just a tool for Carbon developers, not a user-facing facility. A couple of other changes made along the way: * file_test tests with an AUTOUPDATE-SPLIT no longer look for CHECK: lines outside that split. This was motivated by the tests for this new facility including CHECK: lines as part of the test input. * An agent skill for working on the language server, tracking some things that cost Claude time when working on this. Assisted-by: Claude via Antigravity
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.