Hi all!
What do you guys use for completions in VSCode? I’m driving into ruby right now and have been a bit underwhelmed by what I’ve tried.
If you’re not opposed to AI-tooling, Rubberduck and GitHub Copilot are useful. The former is free, but requires an API key (and subscription past trial use) from OpenAI; the latter is $10/mo for individual users.
But can be free if you’re a student.
I’ve been using solargraph with some success in a rather large project. I hear there are other ruby Language Server Protocol implementations but I haven’t tried them.
Solargraph is the better one I’ve tried. I tried the Shopify LSP, but had trouble getting it to give me any suggestions, and I’m not well-versed enough in Ruby’s tooling yet to troubleshoot. Thanks!
The Shopify Ruby LSP is a work in progress, while Solargraph is more feature complete. I tried ruby-lsp and it seemed a little leaner than Solargraph, but it did not give me as many features. Vinicius Stock, who leads the LSP team at Shopify, mentioned the main differences between both systems in the Remote Ruby podcast lately.