provideReferences

abstract external fun provideReferences(document: TextDocument, position: Position, context: ReferenceContext, token: CancellationToken): ProviderResult<ReadonlyArray<Location>>(source)

Provide a set of project-wide references for the given position and document.

Parameters

document

The document in which the command was invoked.

position

The position at which the command was invoked.

context

Additional information about the references request.

token

A cancellation token.