Liking cljdoc? Tell your friends :D
ClojureScript only.

dots.vscode.declaration-provider

The declaration provider interface defines the contract between extensions and the go to declaration feature.

The declaration provider interface defines the contract between extensions and
the go to declaration feature.
raw docstring

provide-declarationcljs

(provide-declaration declaration-provider document position token)

Provide the declaration 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<Declaration> - A declaration or a thenable that resolves to such. The lack of a result can be signaled by returning undefined or null.

Provide the declaration 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<Declaration>` - A declaration or a thenable that resolves to such. The lack of a result can be
signaled by returning `undefined` or `null`.
sourceraw docstring

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close