Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Investigate the possibility of add-ons enhancing find references

Open
#2,792 2 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
25/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Stale
Tech stack
ruby
Domain
devtools

Research direction

Start by cataloguing the DSL reference use cases described in the issue, including Rails associations such as has_many :posts. Then investigate the indexing enhancements and the proposed merge of the reference finder with the declaration listener; done means an agreed design and implementation path for recognizing these references.

Written by the indexing model from the issue text.

Description

enhancement pinned server

There are certain situations where references to declarations may exist in a DSL form. For example, in Rails, if you were to rename/find references for a model, then associations made to that model should be included as well.

class Post
end

class User
  has_many :posts # <<< this should be counted as a reference to the `Post` class, despite being a symbol
end

We will need to study what use cases exist and how to allow for this. Maybe this should be a concern of indexing enhancements and we should expedite the work to merge the reference finder with the declaration listener.

Dominant language
Ruby
Stars
2k
Forks
281
Avg merge
1h 47m
Merged PRs (30d)
8

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from Shopify/ruby-lsp

All issues in Shopify/ruby-lsp

Similar issues

More Ruby issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.