Shopify / Shopify/ruby-lsp-rails
Reveal schema when hovering on an association
Open
Nobody has claimed this yet.
good-first-issue
help-wanted
- Dominant language
- Ruby
- Stars
- 688
- Forks
- 44
- PR merge metrics
- No merged PRs in 30d
Description
Currently, you can reveal a model's schema by hovering over it. It would be nice if you could also see this when hovering over an association, e.g. belongs_to :user,
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 by locating the existing model-hover implementation in the ruby-lsp-rails codebase and then trace how associations such as belongs_to :user are represented. Done means hovering over an association reveals the associated model's schema, matching the existing model-hover behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rails, ruby
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100