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

Implement LocateReferences #35

Open
object88 opened this issue Feb 9, 2018 · 1 comment
Open

Implement LocateReferences #35

object88 opened this issue Feb 9, 2018 · 1 comment

Comments

@object88
Copy link
Owner

object88 commented Feb 9, 2018

Want to be able to find everywhere that a particular identifier is used. This should include in the current file, the package it's defined within, and if exported, other packages that import the package, or indirect imports or usages.

Note: we do not want a brute force scan of all packages in the workspace. For a significantly large workspace, this could be excessive if the package is defined at one end of the package DAG. Instead, find where the identifier is defined, and follow the package ascendents. Immediate ascendents will directly import the package, and further ascendents may indirectly import based on the packages that did directly import. If there is a more clever technique, it can be applied later.

@object88
Copy link
Owner Author

Largely implemented in #37, still some missing parts.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant