在vscode中,可以通过 Ctrl+反引号
快捷键来调出终端面板,如下图:
其中的shell(上图右下圈红部分)是可以设置的,
在文件
-> 首选项
-> 设置
中打开,在用户设置中添加如下配置项:
// "terminal.integrated.shell.windows": "C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe",
// "terminal.integrated.shell.windows": "C:\\Windows\\System32\\cmd.exe",
"terminal.integrated.shell.windows": "D:\\soft\\git\\bin\\bash.exe"
powershell,cmd,和bash(我这里安装了git,所以可以如上设置)我都试过,都可以用的.
这样一来,就可以放弃难用的cmd了.
欢迎补充指正!
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。