Skip to content

Latest commit

 

History

History

vscode_extension

Ruby Sorbet for VS Code

Features

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.

Documentation

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:

Developing on this Extension

See docs/lsp-dev-guide.md for information on how to get started with LSP and VS Code extension development.