provideCodeLenses

Compute a list of lenses. This call should return as fast as possible and if computing the commands is expensive implementors should only return code lens objects with the range set and implement resolve.

Parameters

document

The document in which the command was invoked.

token

A cancellation token.