mirror of
https://github.com/microsoft/vscode.git
synced 2026-09-12 20:12:23 +01:00
feat: add disable-lcd-text flag (#211716)
This commit is contained in:
+4
-1
@@ -202,7 +202,10 @@ function configureCommandlineSwitchesSync(cliArgs) {
|
||||
'disable-hardware-acceleration',
|
||||
|
||||
// override for the color profile to use
|
||||
'force-color-profile'
|
||||
'force-color-profile',
|
||||
|
||||
// disable LCD font rendering, a Chromium flag
|
||||
'disable-lcd-text'
|
||||
];
|
||||
|
||||
if (process.platform === 'linux') {
|
||||
|
||||
@@ -129,6 +129,7 @@ export interface NativeParsedArgs {
|
||||
'inspect'?: string;
|
||||
'inspect-brk'?: string;
|
||||
'js-flags'?: string;
|
||||
'disable-lcd-text'?: boolean;
|
||||
'disable-gpu'?: boolean;
|
||||
'disable-gpu-sandbox'?: boolean;
|
||||
'nolazy'?: boolean;
|
||||
|
||||
@@ -120,6 +120,7 @@ export const OPTIONS: OptionDescriptions<Required<NativeParsedArgs>> = {
|
||||
|
||||
'inspect-extensions': { type: 'string', allowEmptyValue: true, deprecates: ['debugPluginHost'], args: 'port', cat: 't', description: localize('inspect-extensions', "Allow debugging and profiling of extensions. Check the developer tools for the connection URI.") },
|
||||
'inspect-brk-extensions': { type: 'string', allowEmptyValue: true, deprecates: ['debugBrkPluginHost'], args: 'port', cat: 't', description: localize('inspect-brk-extensions', "Allow debugging and profiling of extensions with the extension host being paused after start. Check the developer tools for the connection URI.") },
|
||||
'disable-lcd-text': { type: 'boolean', cat: 't', description: localize('disableLCDText', "Disable LCD font rendering.") },
|
||||
'disable-gpu': { type: 'boolean', cat: 't', description: localize('disableGPU', "Disable GPU hardware acceleration.") },
|
||||
'disable-chromium-sandbox': { type: 'boolean', cat: 't', description: localize('disableChromiumSandbox', "Use this option only when there is requirement to launch the application as sudo user on Linux or when running as an elevated user in an applocker environment on Windows.") },
|
||||
'sandbox': { type: 'boolean' },
|
||||
|
||||
@@ -356,6 +356,10 @@ import { MAX_ZOOM_LEVEL, MIN_ZOOM_LEVEL } from 'vs/platform/window/electron-sand
|
||||
type: 'string',
|
||||
description: localize('argv.locale', 'The display Language to use. Picking a different language requires the associated language pack to be installed.')
|
||||
},
|
||||
'disable-lcd-text': {
|
||||
type: 'boolean',
|
||||
description: localize('argv.disableLcdText', 'Disables LCD font antialiasing.')
|
||||
},
|
||||
'disable-hardware-acceleration': {
|
||||
type: 'boolean',
|
||||
description: localize('argv.disableHardwareAcceleration', 'Disables hardware acceleration. ONLY change this option if you encounter graphic issues.')
|
||||
|
||||
Reference in New Issue
Block a user