Liking cljdoc? Tell your friends :D

dots.vscode.extension

Represents an extension.

To get an instance of an Extension use {@link extensions.getExtension getExtension}.

Represents an extension.

To get an instance of an `Extension` use {@link extensions.getExtension getExtension}.
raw docstring

activatecljs

(activate extension)

Activates this extension and returns its public API.

Returns: Thenable<T> - A promise that will resolve when this extension has been activated.

Activates this extension and returns its public API.

**Returns:** `Thenable<T>` - A promise that will resolve when this extension has been activated.
sourceraw docstring

active?cljs

(active? extension)

true if the extension has been activated.

Returns: boolean

`true` if the extension has been activated.

**Returns:** `boolean`
sourceraw docstring

exportscljs

(exports extension)

The public API exported by this extension (return value of activate). It is an invalid action to access this field before this extension has been activated.

Returns: T

The public API exported by this extension (return value of `activate`).
It is an invalid action to access this field before this extension has been activated.

**Returns:** `T`
sourceraw docstring

extension-kindcljs

(extension-kind extension)

The extension kind describes if an extension runs where the UI runs or if an extension runs where the remote extension host runs. The extension kind is defined in the package.json-file of extensions but can also be refined via the remote.extensionKind-setting. When no remote extension host exists, the value is {@linkcode ExtensionKind.UI }.

Returns: ExtensionKind

The extension kind describes if an extension runs where the UI runs
or if an extension runs where the remote extension host runs. The extension kind
is defined in the `package.json`-file of extensions but can also be refined
via the `remote.extensionKind`-setting. When no remote extension host exists,
the value is {@linkcode ExtensionKind.UI }.

**Returns:** `ExtensionKind`
sourceraw docstring

extension-pathcljs

(extension-path extension)

The absolute file path of the directory containing this extension. Shorthand notation for {@link Extension.extensionUri Extension.extensionUri.fsPath} (independent of the uri scheme).

Returns: string

The absolute file path of the directory containing this extension. Shorthand
notation for {@link Extension.extensionUri Extension.extensionUri.fsPath} (independent of the uri scheme).

**Returns:** `string`
sourceraw docstring

extension-uricljs

(extension-uri extension)

The uri of the directory containing the extension.

Returns: Uri

The uri of the directory containing the extension.

**Returns:** `Uri`
sourceraw docstring

idcljs

(id extension)

The canonical extension identifier in the form of: publisher.name.

Returns: string

The canonical extension identifier in the form of: `publisher.name`.

**Returns:** `string`
sourceraw docstring

package-jsoncljs

(package-json extension)

The parsed contents of the extension's package.json.

Returns: any

The parsed contents of the extension's package.json.

**Returns:** `any`
sourceraw docstring

set-extension-kind!cljs

(set-extension-kind! extension value)

The extension kind describes if an extension runs where the UI runs or if an extension runs where the remote extension host runs. The extension kind is defined in the package.json-file of extensions but can also be refined via the remote.extensionKind-setting. When no remote extension host exists, the value is {@linkcode ExtensionKind.UI }.

The extension kind describes if an extension runs where the UI runs
or if an extension runs where the remote extension host runs. The extension kind
is defined in the `package.json`-file of extensions but can also be refined
via the `remote.extensionKind`-setting. When no remote extension host exists,
the value is {@linkcode ExtensionKind.UI }.
sourceraw docstring

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

× close