Skip to content

Functions

Category
Sort by
Filters

chat

commands

debug

document

editor

useEditorDecorations-Reactively set decorations on the given editor. @see {@linkcode TextEditor.setDecorations}

env

useEnvShell-Reactive API for env.shell.
useLogLevel-Reactive API for env.logLevel.

extension

useExtensionSecret-Get a reactive secret value from the extension's secrets. - null indicates that the value has not been loaded yet. - undefined indicates that there is no value stored for the given key.

l10n

useL10nText-Reactive API for l10n.t.

lifecycle

useDisposable-Dispose the disposable when the current scope is disposed. @see {@linkcode Disposable}
useVscodeContext-Reactively set a VS Code context. See custom when clause context.
defineConfig-Define configurations of an extension. @see {@linkcode workspace.getConfiguration}
defineService-Define a service that should only be instantiated once.

lm

useLmTools-Reactive API for lm.tools.

tasks

terminal

utilities

useEvent-Reactive API for Event.
useEventEmitter-Reactive API for EventEmitter.

view

defineLogger-Define a logger which is usable before activation. @see {@linkcode window.createOutputChannel}

window

useIsDarkTheme-Determines if the current color theme is dark. @see {@linkcode ColorTheme.kind}
useQuickPick-Creates a customizable quick pick UI.
useWindowState-Reactive API for window.state.

workspace