Change:
VSCode Version: 1.8.0 OS Version: Windows Version 6.3.9600 (Windows 8.1 Enterprise) Steps to Reproduce: High Contrast on Windows VS Code, look at the glorious High Contrast theme a different theme, because you would rather work in that VS Code, your theme choice gets overridden. Essentially, I'd like to be able to disable the auto-detection of the High Contrast theme I'm using in Windows via some setting, because while I prefer Windows in High Contrast mode, I dislike looking at VS Code's High Contrast theme.
I wholeheartedly agree. I'm okay with the default being auto-detection, for the accessibility scenario, but it should definitely be possible to disable this functionality via settings.
An option makes sense to me. If someone wants to provide a PR
Done,
Could you please re-open this issue? Unfortunately, my PR only affected the high-contrast swap that occurred when changing Windows theme while VSCode is open, not the initial theme that is set when VSCode starts, or opens a new folder. I have a new PR that completes the fix.
[x] To verify (Windows): Normally VS Code switches to HC mode automatically when windows is running in HC mode. Verify this new setting can be used to prevent this automatic switch from happening (both on startup as well as when Code is running and you change HC mode in Windows).

Discussion:
fullScreenZenMode: boolean; zoomLevel: number; titleBarStyle: 'native' | 'custom'; <ins> autoDetectHighContrast: boolean; </ins> }

} }; <ins> if (platform.isWindows) { properties['window.autoDetectHighContrast'] = { 'type': 'boolean', 'default': true, 'description': nls.localize('autoDetectHighContrast', "If enabled, will automatically change to high contrast theme if Windows is using a high contrast theme, and to dark theme when switching away from a Windows high contrast theme."), }; } </ins> if (platform.isMacintosh) { properties['window.titleBarStyle'] = { 'type': 'string',

import { IEditorGroupService } from 'vs/workbench/services/group/common/groupService'; import { IMessageService } from 'vs/platform/message/common/message'; import { IWorkspaceConfigurationService } from 'vs/workbench/services/configuration/common/configuration'; <del> import { IWindowsService, IWindowService } from 'vs/platform/windows/common/windows'; </del> <ins> import { IWindowsService, IWindowService, IWindowSettings } from 'vs/platform/windows/common/windows'; </ins> import { IContextMenuService } from 'vs/platform/contextview/browser/contextView'; import { IWindowIPCService } from 'vs/workbench/services/window/electron-browser/windowService'; import { IWorkspaceContextService } from 'vs/platform/workspace/common/workspace';

// High Contrast Events ipc.on('vscode:enterHighContrast', (event) => { <del> this.partService.joinCreation().then(() => { this.themeService.setColorTheme(VS_HC_THEME, false); }); </del> <ins> const windowConfig = this.configurationService.getConfiguration<IWindowSettings>('window'); if (windowConfig && windowConfig.autoDetectHighContrast) { this.partService.joinCreation().then(() => { this.themeService.setColorTheme(VS_HC_THEME, false); }); } </ins> }); ipc.on('vscode:leaveHighContrast', (event) => { <del> this.partService.joinCreation().then(() => { this.themeService.setColorTheme(VS_DARK_THEME, false); }); </del> <ins> const windowConfig = this.configurationService.getConfiguration<IWindowSettings>('window'); if (windowConfig && windowConfig.autoDetectHighContrast) { this.partService.joinCreation().then(() => { this.themeService.setColorTheme(VS_DARK_THEME, false); }); } </ins> }); // Configuration changes