Skip to content

函数

分类
排序方式
过滤条件

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-从扩展的机密存储中获取一个响应式的机密值。 - 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-响应式地设置一个 VS Code 上下文。参见 自定义 when 子句上下文
defineConfig-Define configurations of an extension. @see {@linkcode workspace.getConfiguration}
defineService-定义一个只应被实例化一次的服务。

lm

useLmTools-Reactive API for lm.tools.

tasks

terminal

utilities

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

view

defineLogger-定义一个在激活前即可使用的记录器。 @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