We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 81fb0cf commit d1cd816Copy full SHA for d1cd816
1 file changed
src/vs/workbench/services/keybinding/browser/keybindingService.ts
@@ -709,10 +709,17 @@ let schema: IJSONSchema = {
709
'description': nls.localize('keybindings.json.key', "Key or key sequence (separated by space)"),
710
},
711
'command': {
712
- 'type': 'string',
713
- 'enum': commandsEnum,
714
- 'enumDescriptions': <any>commandsEnumDescriptions,
715
- 'description': nls.localize('keybindings.json.command', "Name of the command to execute"),
+ 'anyOf': [
+ {
+ 'type': 'string',
+ 'enum': commandsEnum,
716
+ 'enumDescriptions': <any>commandsEnumDescriptions,
717
+ 'description': nls.localize('keybindings.json.command', "Name of the command to execute"),
718
+ },
719
720
+ 'type': 'string'
721
+ }
722
+ ]
723
724
'when': {
725
'type': 'string',
0 commit comments