有没有办法创建一个键绑定来对文件执行 shell 命令?就像是:
{ "key": "ctrl+shift+e", "command": "run", "command": "touch $file", "when": "editorTextFocus" }
我不想使用任务,因为这需要对整个编辑器是全局的,而不是特定的工作区。
visual-studio-code
visual-studio-code ×1