this post was submitted on 25 Jun 2023
6 points (100.0% liked)

Ruby

531 readers
1 users here now

A community for discussion and news about Ruby programming.

Learning Ruby?

Tools

Documentation

Books

Screencasts

News and updates

founded 1 year ago
MODERATORS
 

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.

top 5 comments
sorted by: hot top controversial new old
[–] unquietwiki 3 points 1 year ago (1 children)

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.

[–] balder1993 3 points 1 year ago

But can be free if you’re a student.

[–] epchris 2 points 1 year ago (1 children)

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.

[–] [email protected] 2 points 1 year ago (1 children)

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 2 points 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.