Compute a list of all exported elements, optionally filtered using a type identifier and document URIs.
OptionalnodeType: stringThe type to filter with, or undefined to return descriptions of all types.
Optionaluris: Set<string>If specified, only returns elements from the given URIs.
a Stream containing all globally visible nodes (of a given type).
Returns all known references that are pointing to the given targetNode.
the AstNode to look up references for
the path that points to the targetNode inside the document. See also AstNodeLocator
a Stream of references that are targeting the targetNode
Determine whether the given document could be affected by changes of the documents identified by the given URIs (second parameter). The document is typically regarded as affected if it contains a reference to any of the changed files.
Document to check whether it's affected
URIs of the changed documents
Remove the specified document URI from the index. Necessary when documents are deleted and not referenceable anymore.
The URI of the document for which index data shall be removed
Remove only the information about the exportable content of a document.
Remove only the information about the cross-references of a document.
Update the information about the exportable content of a document inside the index.
Document to be updated
OptionalcancelToken: Cancellation.CancellationTokenIndicates when to cancel the current operation.
Update the information about the cross-references of a document inside the index.
Document to be updated
OptionalcancelToken: Cancellation.CancellationTokenIndicates when to cancel the current operation.
The index manager is responsible for keeping metadata about symbols and cross-references in the workspace. It is used to look up symbols in the global scope, mostly during linking and completion. This service is shared between all languages of a language server.