Skip to content

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

Open

Description

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestserverThis pull request should be included in the server gem's release notes

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions