Skip to content

Find All References / Go To Definition #42

@JPercival

Description

@JPercival

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions