Vscode: Allow key bindings to chain commands

Created on 21 May 2016  路  6Comments  路  Source: microsoft/vscode

Currently I think the only way to perform multiple commands in succession is to create an extension. It would be good if this was supported by keybindings.json.

See http://stackoverflow.com/q/37009184/1156119

*duplicate feature-request keybindings

Most helpful comment

This would be useful to have outof the box.

All 6 comments

Suggested syntax, it also shows how useful/powerful it can be:

{
  "key": "ctrl+`",
  "command": [
    "workbench.action.toggleMaximizedPanel"
    "workbench.action.terminal.focus"
  ],
  "when": "!terminalFocus"
}

https://marketplace.visualstudio.com/items?itemName=geddski.macros looks like a workaround for this for now.

This would be useful to have outof the box.

@Tyriar, isn't this a duplicate of https://github.com/Microsoft/vscode/issues/871 ?

@usernamehw looks like it, thanks!

Thanks for creating this issue! We figured it's covering the same as another one we already have. Thus, we closed this one as a duplicate. You can search for existing issues here. See also our issue reporting guidelines.

Happy Coding!

Was this page helpful?
0 / 5 - 0 ratings