是否可以在 VS Code 中从单个键绑定/快捷方式运行多个命令,就像宏操作一样,但没有扩展名?
我知道有一些扩展可以做到这一点,但是有没有内置的方法可以做到这一点?就像是:
{
"command": "<run a few commands in sequence>"
"key": "alt+r",
"args": [ // some keybinding
"editor.action.clipboardCopyAction", // command ids from the Keyboard Shortcuts editors
"workbench.action.files.newUntitledFile",
"editor.action.clipboardPasteAction",
]
}
Run Code Online (Sandbox Code Playgroud)
这些选项是否支持每个命令之间有延迟?