provideDocumentHighlights

Provide a set of document highlights, like all occurrences of a variable or all exit-points of a function.

Parameters

document

The document in which the command was invoked.

position

The position at which the command was invoked.

token

A cancellation token.