Re:Autotuner: How to Speed Up Your Rails App
by TobiasBales on Thursday April 25, 2024 @04:42PM
(#40162744)
There is ruby-lsp and ruby-lsp-rails. For the former to shine you do need to use sorbet but for any moderate to large sized rails app I'd personally recommend it anyway. Yes it's not perfect, yes it has a learning curve but boy does it make refactoring easier, faster and safer.
ruby-lsp-rails builds on top of that and hands out information on models and routes mostly
Re:Autotuner: How to Speed Up Your Rails App
by pqdbr on Thursday April 25, 2024 @06:27PM
(#40163864)
Also using ruby-lsp with VS Code and it's been a game-changer.
I'm using ruby-lsp and DAP with NeoVim and I know others using it with emacs so ruby-lsp really is a great boon to the community.
Autocompletion is getting much improved.
In the latest version of IRB for example they can use RBS based static typing for autocompletion[1].
This gives me a lot of hope that we'll have a more widely used static typing solution soon. i.e. some coming together of Sorbet, Steep and RBS.
1. https://github.com/ruby/irb?tab=readme-ov-file#type-based-co...
I only ever wanted compile-time linting and better autocompletion such as in the case of Elixir LS. Does something like that exist for Ruby now? How is Crystal these days?