VSCode中终端不显示的问题
最新版:(1)找到shell配置文件“setting.json”:(2)输入"terminal.,在提示中找到"terminal.integrated.profiles.windows":,点击会出现固定的配置信息:vscode检测到有3个可用终端:powershell(ps),command prompt(cmd),git-bash(git),在"terminal.integrated.defa
文章共198字 · 阅读需要大约1分钟
一键AI生成摘要,助你高效阅读
问答
·
1.60版本vccode:
(1)找到shell配置文件“setting.json”:
(2)输入"terminal.,在提示中找到"terminal.integrated.profiles.windows":,点击会出现固定的配置信息:vscode检测到有3个可用终端:
powershell(ps),command prompt(cmd),git-bash(git),在 "terminal.integrated.defaultProfile.windows"中指定vscode选择的终端:
最终为:
"terminal.integrated.profiles.windows": {
"PowerShell": {
"source": "PowerShell",
"icon": "terminal-powershell"
},
"Command Prompt": {
"path": [
"${env:windir}\\Sysnative\\cmd.exe",
"${env:windir}\\System32\\cmd.exe"
],
"args": [],
"icon": "terminal-cmd"
},
"Git Bash": {
"source": "Git Bash"
}
},
"terminal.integrated.defaultProfile.windows": "Command Prompt"
更多推荐
已为社区贡献2条内容
所有评论(0)