The DocumentSymbol data type represents a symbol within a document. So far, the document's uri is implied from the call context.
It would be good to have an optional uri?: DocumentUri field to support usage of the data type in other scenarios, where the document uri cannot be implied from the call:
- outline (including inherited members)
- call hierarchy
- type hierarchy
See also
The
DocumentSymboldata type represents a symbol within a document. So far, the document's uri is implied from the call context.It would be good to have an optional
uri?: DocumentUrifield to support usage of the data type in other scenarios, where the document uri cannot be implied from the call:See also
textDocument/callHierarchyextension vscode-languageserver-node#420