Liking cljdoc? Tell your friends :D
ClojureScript only.

dots.vscode.type-definition-provider

The type definition provider defines the contract between extensions and the go to type definition feature.

The type definition provider defines the contract between extensions and
the go to type definition feature.
raw docstring

provide-type-definitioncljs

(provide-type-definition type-definition-provider document position token)

Provide the type definition of the symbol at the given position and document.

Parameters:

  • document: TextDocument - The document in which the command was invoked.
  • position: Position - The position at which the command was invoked.
  • token: CancellationToken - A cancellation token.

Returns: ProviderResult<Definition | LocationLink[]> - A definition or a thenable that resolves to such. The lack of a result can be signaled by returning undefined or null.

Provide the type definition of the symbol at the given position and document.

**Parameters:**
- `document`: `TextDocument` - The document in which the command was invoked.
- `position`: `Position` - The position at which the command was invoked.
- `token`: `CancellationToken` - A cancellation token.

**Returns:** `ProviderResult<Definition | LocationLink[]>` - A definition or a thenable that resolves to such. The lack of a result can be
signaled by returning `undefined` or `null`.
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close