是否可以在visual studio代码中为一个键盘快捷键分配多个动作?
例如:向上移动光标x 3设置为"ctrl + w"
提前致谢.
是否可以在 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)
这些选项是否支持每个命令之间有延迟?
使用Command-Shift-f搜索项目目录中的文件后,打开的文件将突出显示搜索字符串。取消显示它们的唯一方法似乎是清除搜索结果。但是,键入“ Esc”不会这样做。我必须单击右上角的“清除搜索结果”按钮。有键盘快捷键吗?