From bb09960d30806b18e432a835b430c21e107f6aad Mon Sep 17 00:00:00 2001 From: Sandeep Somavarapu Date: Wed, 9 Oct 2024 13:09:12 +0200 Subject: [PATCH] add descriptions for enums (#230898) --- src/vs/workbench/browser/parts/editor/editorCommands.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/vs/workbench/browser/parts/editor/editorCommands.ts b/src/vs/workbench/browser/parts/editor/editorCommands.ts index 6dda6ad5348bb..d0ceaa9a6c8df 100644 --- a/src/vs/workbench/browser/parts/editor/editorCommands.ts +++ b/src/vs/workbench/browser/parts/editor/editorCommands.ts @@ -335,7 +335,11 @@ function registerEditorGroupsLayoutCommands(): void { 'orientation': { 'type': 'number', 'default': 0, - 'enum': [0, 1] + 'enum': [0, 1], + 'enumDescriptions': [ + localize('editorGroupLayout.horizontal', "Horizontal"), + localize('editorGroupLayout.vertical', "Vertical") + ], }, 'groups': { '$ref': '#/definitions/editorGroupsSchema',