Merge pull request #236720 from microsoft/tyriar/235730

Register editor gpu acceleration with included:false
pull/236726/head
Daniel Imms 2024-12-20 09:06:15 -08:00 committed by GitHub
commit 9f717d99eb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 8 additions and 9 deletions

View File

@ -5833,15 +5833,14 @@ export const EditorOptions = {
EditorOption.experimentalGpuAcceleration, 'experimentalGpuAcceleration',
'off' as 'off' | 'on',
['off', 'on'] as const,
undefined
// TODO: Uncomment when we want to expose the setting to VS Code users
// {
// enumDescriptions: [
// nls.localize('experimentalGpuAcceleration.off', "Use regular DOM-based rendering."),
// nls.localize('experimentalGpuAcceleration.on', "Use GPU acceleration."),
// ],
// description: nls.localize('experimentalGpuAcceleration', "Controls whether to use the (very) experimental GPU acceleration to render the editor.")
// }
{
included: false, // Hide the setting from users while it's unstable
enumDescriptions: [
nls.localize('experimentalGpuAcceleration.off', "Use regular DOM-based rendering."),
nls.localize('experimentalGpuAcceleration.on', "Use GPU acceleration."),
],
description: nls.localize('experimentalGpuAcceleration', "Controls whether to use the (very) experimental GPU acceleration to render the editor.")
}
)),
experimentalWhitespaceRendering: register(new EditorStringEnumOption(
EditorOption.experimentalWhitespaceRendering, 'experimentalWhitespaceRendering',