Autocomplete/validation args for keybindings.json#66458
Autocomplete/validation args for keybindings.json#66458alexdima merged 2 commits intomicrosoft:masterfrom usernamehw:json_if_validation
args for keybindings.json#66458Conversation
|
@sandy081 That's all for now. |
|
Oh ... new assignee. @alexandrudima That's all for now. |
|
@usernamehw Thank you! All I did on top of your work was to move out the schema definitions to where commands are registered and rebuild the schema when the keybindings service is instantiated. |
args for keybindings.jsonargs for keybindings.json
|
@alexandrudima Some notes:
For example, this code results in no-op with notification {
"key": "ctrl+shift+9",
"command": "workbench.action.terminal.sendSequence",
}
Also, now I can't find what to pass to
Didn't notice this until this week (duplicated entries in command autocomplete): Was waiting for the feedback, maybe you know a good way to fix it. |
|
@usernamehw Thanks for checking. I've pushed additional changes to make |
|
@alexandrudima Warning
|
|
Thanks again for checking! I've pushed further fixes to pick up commands defined in extensions and to add the negative form to the schema as well. |
|
Not quite sure if |
|
I don't think |

So ... some commands can take
args.argsin keybindings GUIkeybindings.jsonProgress:
vscode.openFoldervscode.setEditorLayoutworkbench.action.tasks.runTaskworkbench.action.terminal.sendSequenceworkbench.action.quickOpeneditor.action.codeActioneditor.action.refactoreditor.action.sourceActioneditor.action.insertSnippeteditor.foldeditor.unfoldtypemoveActiveEditoreditorScrollrevealLinecursorMoveBefore adding more commands I'd like to get some feedback.