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 textDocument/references for finding references to the symbol under the cursor #4

Open
mfelsche opened this issue Jun 27, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@mfelsche
Copy link
Contributor

This feature resolves a list of references to the symbol under the cursor.

See the spec: textDocument/references.

One possible implementation could generate a mapping from all possible symbols that refer to something (tk_fletref, tk_varref etc.) to the AST node / symbol they refer to, and from that node to an Array[AST] which holds all the references to the definition symbol.

@mfelsche mfelsche added the enhancement New feature or request label Jun 27, 2024
@ponylang-main ponylang-main added the discuss during sync Should be discussed during an upcoming sync label Jun 27, 2024
@jemc jemc removed the discuss during sync Should be discussed during an upcoming sync label Jul 9, 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
Projects
None yet
Development

No branches or pull requests

3 participants