Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Investigate the possibility of add-ons enhancing find references #2792

Open
vinistock opened this issue Oct 28, 2024 · 0 comments
Open

Investigate the possibility of add-ons enhancing find references #2792

vinistock opened this issue Oct 28, 2024 · 0 comments
Labels
enhancement New feature or request server This pull request should be included in the server gem's release notes

Comments

@vinistock
Copy link
Member

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.

@vinistock vinistock added enhancement New feature or request server This pull request should be included in the server gem's release notes labels Oct 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request server This pull request should be included in the server gem's release notes
Projects
None yet
Development

No branches or pull requests

1 participant