provideTerminalLinks
abstract fun provideTerminalLinks(context: TerminalLinkContext, token: CancellationToken): ProviderResult<ReadonlyArray<T>>(source)
Provide terminal links for the given context. Note that this can be called multiple times even before previous calls resolve, make sure to not share global objects (eg. RegExp
) that could have problems when asynchronous usage may overlap.
Parameters
context
Information about what links are being provided for.
token
A cancellation token.