Hacker News new | past | comments | ask | show | jobs | submit login

The hours I have sunk into making vscode a rails ide are substantial.



Were you successful? I spent a lot of time too, but never got "go to definition" to actually work well.


Check out VSCode's "Ruby in Visual Studio Code" page [1].

Ruby LSP already does quite a bit and started gaining go-to method abilities last month [2], though it isn't complete quite yet [3]. It's build on Prism, so promises to be more robust than past attempts. Shopify has been moving fast on improving things here.

The Rdbg integration works great too [4]. Just add a `launch.json` and VSCode can hook into the very nice capabilities Koichi Sasada has been adding to the official `debug` gem.

[1]: https://code.visualstudio.com/docs/languages/ruby

[2]: https://github.com/Shopify/ruby-lsp/releases/tag/v0.12.4

[3]: https://github.com/Shopify/ruby-lsp/issues/899

[4]: https://marketplace.visualstudio.com/items?itemName=KoichiSa...


Yes, with Solargraph. It uses type inference most of the time, and when it can’t guess the type, you can add YARD comments. Intellisense also works well (autocomplete).


Me too. Eventually I gave up and started using RubyMine. I don't use Ruby or Rails currently but when I do, I'll use either RubyMine or IntelliJ IDEA.




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: