This extension provides language-aware IDE features for Ruby projects that use Sorbet. It includes features like the following:
- Diagnostics (errors) that update as you type
- Hover tooltips, to show types and documentation
- Go to Definition/Find All References support
- Autocompletion
- Code Actions for refactoring
- Quick Fixes for errors
For a full list of features, see the "Editor Features" section of the Sorbet docs.
This extension only works in projects that have adopted Sorbet. For instructions, see here:
The docs for the Sorbet extension for VS Code live here:
The Sorbet extension for VS Code is powered by the language server protocol (LSP). Sorbet's support for LSP is documented here:
See docs/lsp-dev-guide.md for information on how to get started with LSP and VS Code extension development.