Skip to content

Commit

Permalink
add descriptions for enums (microsoft#230898)
Browse files Browse the repository at this point in the history
  • Loading branch information
sandy081 authored Oct 9, 2024
1 parent 8329e3a commit bb09960
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/vs/workbench/browser/parts/editor/editorCommands.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down

0 comments on commit bb09960

Please sign in to comment.