6

VS Code 更新了,可以愉快地 Ctrl+C 了

 2 years ago
source link: https://www.v2ex.com/t/834028
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

V2EX  ›  程序员

VS Code 更新了,可以愉快地 Ctrl+C 了

  Kasumi20 · develon2015 · 14 小时 27 分钟前 · 1927 次点击

终端现在有一个选择功能,当收到一个特定的字符序列时自动回复。一个很好的例子是,在运行批处理脚本时,点击 Ctrl+C 后,会显示 Windows 批处理脚本信息 Terminate batch job (Y/N)? 为了让终端在 Windows 的 Ctrl+C 时自动回复 Y 和回车(\r ),请添加以下设置。

"terminal.integrated.autoReplies": {
  "Terminate batch job (Y/N)?": "Y\r"
}

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK