eclipse-theia / theia

Eclipse Theia is a cloud & desktop IDE framework implemented in TypeScript.
http://theia-ide.org
Eclipse Public License 2.0
19.86k stars 2.48k forks source link

[vscode]keybinding for multiple commands #13924

Open ianqsong opened 1 month ago

ianqsong commented 1 month ago

Feature Description:

runCommands allows users to run multiple commands by single keybinding. I was wondering if we have this here. (I did the search for 2 hours with no luck.)

A quick example from the link above:

{
  "keybinding": "ctrl+alt+c",
  "command": "runCommands",
  "args": {
    "commands": [
      "editor.action.copyLinesDownAction",
      "cursorUp",
      "editor.action.addCommentLine",
      "cursorDown"
    ]
  }
}
JonasHelming commented 1 month ago

Hi, I assume you tried this in Theia and it did not work?