嗨,我是vscode的新手,当我运行一个程序时,有一些文本是我想要删除的。
我主要想删除前两段,但也删除路径将是理想的。
我试过代码运行程序,但这不是我想要的解决方案,我也尝试将颜色更改为黑色,但我认为有一种方法可以删除它
发布于 2022-11-03 12:41:33
添加"-NoLogo“开始参数将删除文本段落;如果打开设置文件(Ctrl+Shift+P,然后键入" settings”->用户设置JSON),则可以使用以下配置:
// should go in the main JSON object with the other keys
"terminal.integrated.profiles.windows": {
// it might generate some more profiles automatically, but powershell is what matters
"PowerShell": {
"source": "PowerShell",
"icon": "terminal-powershell",
"args": ["-NoLogo"]
}
}
发布于 2022-11-03 12:43:39
发布于 2022-11-03 12:55:59
首先转到终端设置,然后添加-nologo
arg
https://stackoverflow.com/questions/74303133
复制相似问题