TerminalLinkProvider
A provider that enables detection and handling of links within terminals.
Functions
Link copied to clipboard
Handle an activated terminal link.
Link copied to clipboard
abstract fun provideTerminalLinks(context: TerminalLinkContext, token: CancellationToken): ProviderResult<ReadonlyArray<T>>
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.