ruby-lsp-rails
ruby-lsp-rails copied to clipboard
A Ruby LSP addon for Rails
Hey, I have Ruby LSP working just fine via ASDF on my local machine (macOS) on VS Code, but none of the Rails features are working. I don't use any...
Thanks for your great work on this add-on! I noticed that I don't see the Rails routes in controllers (https://shopify.github.io/ruby-lsp/rails-add-on.html#go-to-controller-action-route) due to the routes being inside constraints (https://guides.rubyonrails.org/routing.html#request-based-constraints). If I...
When renaming a migration class from `A` to `B`, also rename the migration file name, as they need to match.
> [!NOTE] > This issue is aimed at those attending the [RubyConf 2024 Hack Day](https://github.com/Shopify/ruby-lsp/discussions/2758) > [!CAUTION] > This will likely be a difficult issue, please discuss approaches with the...
This might require some infrastructure changes and new APIs in the Ruby LSP side, but we came to realize that there's one aspect of concerns we are unable to match...
Currently there is no error handling for `server_addon/delegate` requests - which I think makes sense on the whole (in line with comment `Do not wrap this in error handlers. Server...
### Description From time to time I notice that there are a bunch of ruby processes where I'm pretty sure they are related to ruby-lsp even if the Rails project...
- Current spring [activation code](https://github.com/Shopify/ruby-lsp-rails/blob/d44779e54939fdbeaaa9e1b4344a9864f2a21cc7/lib/ruby_lsp/ruby_lsp_rails/runner_client.rb#L62-L63) hits the `Errno::EPERM` rescue - Spring seems to activate fine without it on MacOS during `rails runner` so I don't know if the activation code...
Currently we run CI against the latest release release, and against `main`, but I'm considering if we should also test against older supported Rails versions, such as 7.2, since there...
After https://github.com/Shopify/ruby-lsp-rails/pull/472, we are no longer showing documentation on Hover for some Rails DSLs.