A provider that enables detection and handling of links within terminals.
A provider that enables detection and handling of links within terminals.
(handle-terminal-link terminal-link-provider link)
Handle an activated terminal link.
Parameters:
link
: T
- The link to handle.Returns: ProviderResult<void>
Handle an activated terminal link. **Parameters:** - `link`: `T` - The link to handle. **Returns:** `ProviderResult<void>`
(provide-terminal-links terminal-link-provider context token)
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
: TerminalLinkContext
- Information about what links are being provided for.token
: CancellationToken
- A cancellation token.Returns: ProviderResult<T[]>
- A list of terminal links for the given line.
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`: `TerminalLinkContext` - Information about what links are being provided for. - `token`: `CancellationToken` - A cancellation token. **Returns:** `ProviderResult<T[]>` - A list of terminal links for the given line.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close