Open JPercival opened 2 years ago
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.
See also #22
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.