Skip to main content

Class: VscodeConfiguration

ide/vscode/VscodeConfiguration.VscodeConfiguration

Implements

Constructors

constructor

new VscodeConfiguration(ide)

Parameters

NameType
ideVscodeIDE

Defined in

ide/vscode/VscodeConfiguration.ts:14

Properties

notifier

Private notifier: Notifier<[]>

Defined in

ide/vscode/VscodeConfiguration.ts:12


onDidChangeConfiguration

onDidChangeConfiguration: (listener: Listener<[]>) => Disposable

Type declaration

▸ (listener): Disposable

Register to be notified when notifyListeners is called

Parameters
NameTypeDescription
listenerListener<[]>A function to be called when notifyListeners is called
Returns

Disposable

A function that can be called to unsubscribe from notifications

Implementation of

Configuration.onDidChangeConfiguration

Defined in

ide/vscode/VscodeConfiguration.ts:31

Methods

getOwnConfiguration

getOwnConfiguration<Path>(path, scope?): GetFieldType<CursorlessConfiguration, Path>

Returns a Cursorless configuration value. Dots are accepted in {@link path}, and are interpreted as child access, eg experimental.snippetsDir.

Type parameters

NameType
Pathextends Paths<CursorlessConfiguration, undefined, undefined>

Parameters

NameType
pathPath
scope?ConfigurationScope

Returns

GetFieldType<CursorlessConfiguration, Path>

Implementation of

Configuration.getOwnConfiguration

Defined in

ide/vscode/VscodeConfiguration.ts:22