Skip to content

Commit 5cdf4dd

Browse files
committed
Register editor gpu acceleration with included:false
Fixes microsoft#235730
1 parent b8b4db3 commit 5cdf4dd

File tree

1 file changed

+8
-9
lines changed

1 file changed

+8
-9
lines changed

src/vs/editor/common/config/editorOptions.ts

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -5833,15 +5833,14 @@ export const EditorOptions = {
58335833
EditorOption.experimentalGpuAcceleration, 'experimentalGpuAcceleration',
58345834
'off' as 'off' | 'on',
58355835
['off', 'on'] as const,
5836-
undefined
5837-
// TODO: Uncomment when we want to expose the setting to VS Code users
5838-
// {
5839-
// enumDescriptions: [
5840-
// nls.localize('experimentalGpuAcceleration.off', "Use regular DOM-based rendering."),
5841-
// nls.localize('experimentalGpuAcceleration.on', "Use GPU acceleration."),
5842-
// ],
5843-
// description: nls.localize('experimentalGpuAcceleration', "Controls whether to use the (very) experimental GPU acceleration to render the editor.")
5844-
// }
5836+
{
5837+
included: false, // Hide the setting from users while it's unstable
5838+
enumDescriptions: [
5839+
nls.localize('experimentalGpuAcceleration.off', "Use regular DOM-based rendering."),
5840+
nls.localize('experimentalGpuAcceleration.on', "Use GPU acceleration."),
5841+
],
5842+
description: nls.localize('experimentalGpuAcceleration', "Controls whether to use the (very) experimental GPU acceleration to render the editor.")
5843+
}
58455844
)),
58465845
experimentalWhitespaceRendering: register(new EditorStringEnumOption(
58475846
EditorOption.experimentalWhitespaceRendering, 'experimentalWhitespaceRendering',

0 commit comments

Comments
 (0)