MCPcopy
hub / github.com/PowerShell/vscode-powershell / onSettingChangeOptions

Interface onSettingChangeOptions

src/settings.ts:344–347  ·  view source on GitHub ↗

* Options for the `onSettingChange` function. * @param scope the scope in which the vscode setting should be evaluated. * @param run Indicates whether the function should be run now in addition to when settings change, or if it should be run only once and stop listening after a single change. If t

Source from the content-addressed store, hash-verified

342 * @param run Indicates whether the function should be run now in addition to when settings change, or if it should be run only once and stop listening after a single change. If this is undefined, the function will be run only when the setting changes.
343 */
344interface onSettingChangeOptions {
345 scope?: vscode.ConfigurationScope;
346 run?: "now" | "once";
347}
348
349/**
350 * Invokes the specified action when a setting changes

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected