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
Name | Type |
---|---|
Path | extends Paths <CursorlessConfiguration , undefined , undefined > |
Parameters
Name | Type | Description |
---|---|---|
path | Path | A configuration key or path. Dots are interpreted as child access |
scope? | ConfigurationScope | An 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
Name | Type |
---|---|
listener | Listener <[]> |
Returns
Defined in
libs/common/ide/types/Configuration.ts:39