我使用的是 mac,在 VSCode 中,默认终端是 mac 的终端。我已经安装了 iterm(version2),在 bash 命令行下我找不到直接的可执行文件
which iterm
它什么也没给。
我希望将它用作 VSCode 中的默认终端。如何配置这个?
最佳答案
您可以在 VS Code 中将外部终端设置为 iTerm,将以下配置添加到您的用户设置中:
"terminal.external.osxExec": "iTerm.app",
然后使用 shift + cmd + C
从 VS Code 打开它。对于集成终端,我认为您不能更改使用的应用程序,因为 VS Code 的集成终端和 iTerm 都只是终端仿真器。您可以更改与 "terminal.integrated.shell.osx"
一起使用的 shell,默认设置为 "/bin/bash"
。
关于macos - 在 VSCode 中,如何将我的默认终端更改为 iterm?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/45117444/