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.
- unquietwiki ( @unquietwiki@programming.dev ) English3•1 year ago
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.
- Baldur Nil ( @balder1993@programming.dev ) English3•1 year ago
But can be free if you’re a student.
Thanks - this isn’t quite what I meant by completions, but I suppose it technically is completions!
- epchris ( @epchris@programming.dev ) English2•1 year ago
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!
- MoskitoHero ( @MoskitoHero@programming.dev ) English2•1 year ago
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.