我cmder在里面用作终端VSCode。我试图powershell与cmderinside整合VSCode。我看到在cmder配置中powershell,以下内容作为参数传递:
"-ExecutionPolicy Bypass -NoLogo -NoProfile -NoExit -Command" "Invoke-Expression '. ''C:\\cmder\\vendor\\profile.ps1'''"
我试图user.settings像这样使用它:
"terminal.integrated.shell.windows": "C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe",
"terminal.integrated.shellArgs.windows": ["-ExecutionPolicy Bypass -NoLogo -NoProfile -NoExit -Command \"Invoke-Expression '. ''C:\\cmder\\vendor\\profile.ps1'''\""]
但是,终端在打开时崩溃。
我想我可以在这里使用一些帮助或指导。谢谢。
