首页 > 其他 > 详细

VSCode如何用快捷键清空terminal内容?

时间:2020-04-10 12:28:25      阅读:791      评论:0      收藏:0      [点我收藏+]

VSCode如何用快捷键清空terminal内容?

https://stackoverflow.com/questions/48713604/how-can-i-clear-the-terminal-in-visual-studio-code

Open up the Keyboard Shortcuts with Ctrl+K, Ctrl+S. Then click on the {} next to the Keyboard Shortcuts tab to open up the keybindings.json file.

技术分享图片

After doing so, find some open space anywhere in the file, and type in the key bind below.

{
    "key": "ctrl+k",
    "command": "workbench.action.terminal.clear",
    "when": "terminalFocus"
}

VSCode如何用快捷键清空terminal内容?

原文:https://www.cnblogs.com/cutepig/p/12672395.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!