一、文件\首选项\设置

二、

三、添加下面两行到 用户设置
"terminal.integrated.shell.windows": "C:\\WINDOWS\\System32\\cmd.exe",
"terminal.integrated.shellArgs.windows": ["/K", "C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\Enterprise\\Common7\\Tools\\VsDevCmd.bat"]
如下:

四、终端\新建终端 Ctrl + Shift + ·
看下效果:


本文介绍如何在VSCode中配置Windows终端,通过设置特定路径来启用集成终端功能,并提供了一个具体的配置示例。
2403

被折叠的 条评论
为什么被折叠?



