Skip to main content

Interface: Configuration

libs/common/ide/types/Configuration.Configuration

Implemented by

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

NameTypeDescription
pathPathA configuration key or path. Dots are interpreted as child access
scope?ConfigurationScopeAn optional scope specifier, indicating eg language id

Returns

GetFieldType<CursorlessConfiguration, Path>

Defined in

libs/common/ide/types/Configuration.ts:34


onDidChangeConfiguration

onDidChangeConfiguration(listener): Disposable

Parameters

NameType
listenerListener<[]>

Returns

Disposable

Defined in

libs/common/ide/types/Configuration.ts:39