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

Find All References / Go To Definition #42

Open
JPercival opened this issue Jun 24, 2022 · 1 comment
Open

Find All References / Go To Definition #42

JPercival opened this issue Jun 24, 2022 · 1 comment
Labels
enhancement New feature or request

Comments

@JPercival
Copy link
Contributor

As a user, I want to be able to right click on a definition / function / model in CQL and find all references to that element, and then also be able to go to the place where that's defined in the CQL code. Here's the relevant language server apis:

https://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification/#textDocument_references

https://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification/#textDocument_definition

To facilitate this, we could maintain an index of documents in the cql-language-server that would allow look-up of definitions and references.

@JPercival JPercival added the enhancement New feature or request label Jun 24, 2022
@JPercival
Copy link
Contributor Author

See also #22

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

1 participant