provideDocumentLinks  
  abstract fun provideDocumentLinks(document: TextDocument, token: CancellationToken): ProviderResult<ReadonlyArray<T>>(source)
Provide links for the given document. Note that the editor ships with a default provider that detects http(s) and file links.
Parameters
document
The document in which the command was invoked.
token
A cancellation token.