Sorbet: How does editor support work?

Created on 23 Jun 2019  路  3Comments  路  Source: sorbet/sorbet

Before asking your question, please make sure these are true:

Great, thanks! Now by all means, ask away:


First off, I am super excited that sorbet is finally open source :D

I tried getting started with a fresh rails project and srb tc etc work just fine but in the talks
there were always references to it being supported in editors (via LSP). I tried searching for editor/ide/lsp/vs code in all docs I could find but didn't find anything.

So, how do I actually get the support into an editor (e.g. VS Code)? :D

Thanks so much for all the hard work that went intoi

question unconfirmed

Most helpful comment

We're currently working on editor support at Stripe. Sorbet supports a bunch of experimental flags for enabling IDE features, but they're very experimental (read: they crash a lot). When they stop crashing, we'll tell people how to use them.

All 3 comments

@TobiasBales I was looking around myself for this and found some discussion in the Solargraph repo from a few days ago involving one of the Sorbet maintainers:

https://github.com/castwide/solargraph/issues/194

Editor plugin exists but it's currently closed source. It will get open-sourced when we stabilize LSP features.

Per Twitter, essentially the same response as above: https://twitter.com/darkdimius/status/1141785271958167553

The extension isn't ready for prime-time yet, we'll have to wait until more of the LSP features are finished and the extension is a bit more polished. They're definitely working on it, they moved an LSP feature out of beta in this repo on Friday IIRC, so it'll just require some patience :)

We're currently working on editor support at Stripe. Sorbet supports a bunch of experimental flags for enabling IDE features, but they're very experimental (read: they crash a lot). When they stop crashing, we'll tell people how to use them.

Was this page helpful?
0 / 5 - 0 ratings