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

Ruby

9 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 6 comments
sorted by: hot top controversial new old
[–] unquietwiki@programming.dev 3 points 1 year ago (2 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@programming.dev 3 points 1 year ago

But can be free if you’re a student.

[–] ollien 1 points 1 year ago

Thanks - this isn't quite what I meant by completions, but I suppose it technically is completions!

[–] epchris@programming.dev 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.

[–] ollien 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@programming.dev 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.

load more comments
view more: next ›