我在 Linux 上使用 kitty(它是一个终端),我希望它在 VS Code 中用作默认终端(当我单击 Ctrl+` 时出现)。现在 VS Code 使用自己的终端,名称为“vscode”。
我尝试通过添加来修改设置,
"terminal.external.linuxExec": "/usr/bin/kitty"
但没有帮助。
当我单击它时Select Default Profile,它只允许我在zsh和之间进行选择bash。
如何将默认终端更改为 kitty?
更新:我已经添加了小猫的个人资料,如下所示
"terminal.integrated.profiles.linux": {
"bash": {
"path": "bash",
"icon": "terminal-bash"
},
"zsh": {
"path": "zsh"
},
... other profiles
"kitty": {
"path": "/usr/bin/kitty"
}
},
Run Code Online (Sandbox Code Playgroud)
但是当我kitty现在选择时,它会在 VS Code 之外打开终端。