Liking cljdoc? Tell your friends :D
ClojureScript only.

dots.vscode.document-symbol-provider

The document symbol provider interface defines the contract between extensions and the go to symbol-feature.

The document symbol provider interface defines the contract between extensions and
the [go to symbol](https://code.visualstudio.com/docs/editor/editingevolved#_go-to-symbol)-feature.
raw docstring

provide-document-symbolscljs

(provide-document-symbols document-symbol-provider document token)

Provide symbol information for the given document.

Parameters:

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

Returns: ProviderResult<DocumentSymbol[] | SymbolInformation[]> - An array of document highlights or a thenable that resolves to such. The lack of a result can be signaled by returning undefined, null, or an empty array.

Provide symbol information for the given document.

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

**Returns:** `ProviderResult<DocumentSymbol[] | SymbolInformation[]>` - An array of document highlights or a thenable that resolves to such. The lack of a result can be
signaled by returning `undefined`, `null`, or an empty array.
sourceraw docstring

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

× close