Class: VscodeConfiguration
ide/vscode/VscodeConfiguration.VscodeConfiguration
Implements
Constructors
constructor
• new VscodeConfiguration(ide
)
Parameters
Name | Type |
---|---|
ide | VscodeIDE |
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
Name | Type | Description |
---|---|---|
listener | Listener <[]> | A function to be called when notifyListeners is called |
Returns
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
Name | Type |
---|---|
Path | extends Paths <CursorlessConfiguration , undefined , undefined > |
Parameters
Name | Type |
---|---|
path | Path |
scope? | ConfigurationScope |
Returns
GetFieldType
<CursorlessConfiguration
, Path
>
Implementation of
Configuration.getOwnConfiguration
Defined in
ide/vscode/VscodeConfiguration.ts:22