/sorbet-lsp

Primary LanguageTypeScriptMIT LicenseMIT

DEPRECATED in favor of the official extension here

Sorbet LSP

Simple LSP extension for sorbet

How to install

  • Set up sorbet in your project follow sorbet's guide: https://sorbet.org/docs/adopting
  • Run bundle install from your project root inside of VSCode's terminal => This is to ensure VSCode has access to sorbet
  • Making sure bundle exec srb tc works since this extension rely on that command.
  • Enjoy.

How to use with RVM

image

  • Set your bundle/srb path in setting to the rvm bin wrapper path. Note: It should be in ~/.rvm/wrappers/ruby-<your-version>@dashboard