Shopify / Shopify/ruby-lsp-rails
Feature request: show full route on hover in routes.rb
Nobody has claimed this yet.
- Dominant language
- Ruby
- Stars
- 688
- Forks
- 44
- PR merge metrics
- No merged PRs in 30d
Description
I am not sure this is possible, but it would be great to be able to see the whole route like you can see on a controller action (ref) when you hover a route in a routes.rb file 👇
If you have a small routes.rb file, it may be overkill, but on a bigger routes.rb file, when you have multiple resource :settings that are nested in different places, it is tough to find out on which one you're and try to figure out what the route is like in your head.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the routes.rb hover behavior and compare it with the existing Go to Controller Action route behavior described in the linked Rails add-on documentation. Trace how route context is presented today, then define completion as showing the full route when hovering routes, including nested duplicate resources such as multiple settings routes.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rails, ruby
- Domain
- developer-experience, tooling
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100