Files
carbon-lang/utils
DavidLoftusandjonmeow 2eddfbd7bf Add restart LSP command to VSCode extension (#4916)
This PR adds a new command to the Carbon VSCode extension "carbon:
Restart language server" which acts similar to clangd / bazel
extensions. While not useful during regular working of the extension
this helps when LSP either crashes or the toolchain is updated.

In order to support graceful restart, I needed to add a Call handler for
"shutdown" which is noop for now. Lsp clients always call shutdown
before sending exit.

---------

Co-authored-by: jonmeow <jperkins@google.com>
2025-02-10 23:39:49 +00:00
..

Developer Utilities

This directory collects tools and utilities that may be useful to both Carbon developers and developers writing Carbon code.

Editor Support

Other Editors

Any editor that supports Language server protocol and/or tree-sitter is supported. The editor just needs to be configured manually. bazel build //toolchain produces the language server binary. utils/tree_sitter contains the tree-sitter grammar.