一、使用什么样的shell:
terminal.integrated.shell.windows
terminal.integrated.shell.osx
terminal.integrated.shell.linux
vscode创建新的Terminal时, 如果弹出了git bash窗口, 而不是集成的终端窗口上
出现这个问题的原因是设置的终端程序是Git Bash, 而不是集成的Bash
正确.png
而不是:
错误.png
二、输出的行数限制
terminal.integrated.scrollback:
终端在运行脚本时,只会保存最近输出的 1000 行结果。
有的时候,当我们跑一些测试,1000 行根本不够用,测试跑完了,想往上翻页看看前面的结果,却发现只有 1000 行,没法看到全部的结果。
那这时我们就可以把这个设置修改为一个较高的值。












网友评论