You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Remove Settings class, use VS Code config API directly
Replace the cached Settings class hierarchy with direct
`vscode.workspace.getConfiguration()` calls throughout the codebase.
This eliminates race conditions from stale cached values and removes the
burden of keeping the class in sync with package.json.
- Remove Settings, DebuggingSettings, DeveloperSettings, etc. classes
- Remove getSettings(), getSetting(), getEffectiveConfigurationTarget(),
onSettingChange(), and onPowerShellSettingChange() helpers
- Remove PowerShellLanguageId constant (inline "powershell" literal)
- Remove unused enums: StartLocation, ExecuteMode, CodeFormattingPreset,
PipelineIndentationStyle
- Move CommentType enum to HelpCompletion.ts (its only consumer)
- Replace restartOnCriticalConfigChange() stale-vs-fresh comparisons
with affectsConfiguration() calls
- Replace powerShellDefaultVersion mutation with dedicated
powerShellVersionOverride field
- Audit and fix all setting defaults to match package.json
- Disable no-unnecessary-type-arguments ESLint rule (conflicts with
no-unnecessary-condition when using VS Code .get<T>(key, default) API)
- Update tests
0 commit comments