我遵循了Warp文档的说明,但这只取代了外部终端(它作为一个单独的窗口打开)。https://www.warp.dev/blog/how-to-open-warp-vscode
我想用Warp来代替vscode在集成终端中的xterm用法,但我似乎想不出如何做到这一点。我的尝试是编辑我的settings.json中的概要:
"terminal.integrated.profiles.osx": {
"bash": {
"path": "bash",
"args": [
"-l"
],
"icon": "terminal-bash"
},
"zsh": {
"path": "zsh",
"args": [
"-l"
]
},
"fish": {
"path": "fish",
"args": [
"-l"
]
},
"tmux": {
"path": "tmux",
"icon": "terminal-tmux"
},
"pwsh": {
"path": "pwsh",
"icon": "terminal-powershell"
},
"warp": {
"path": "/Applications/Warp.app/Contents/MacOS/stable",
"icon": "/Applications/Warp.app/Contents/Resources/Warp.icns"
}
},
"terminal.integrated.defaultProfile.osx": "warp",
但是所有这些都是在一个单独的窗口打开经纱,而现有的集成终端包含了经纱的输出日志。
Warp文档不包括更改集成终端,vscode文档也不包括在内,因此我高度怀疑这是不可行的,但我想知道是否有一些不太明显的解决方法,可能有人已经找到了。
发布于 2022-11-16 18:17:10
我猜对术语“warp”是一个终端仿真器应用程序有误解,但是VSCode集成了bash、zsh等命令shell。
终端应用程序在大多数情况下是GUI应用程序,允许您使用命令shell。在本例中,VSCode的终端窗口是一个终端应用程序。这就是为什么您不能仅仅在VSCode环境中使用“warp”或任何其他GUI终端模拟器。
发布于 2022-09-15 12:50:19
vscode似乎不能接受Warp作为默认的集成终端。
不接受
值。有效值: null、"bash“、"csh”、"dash“、"ksh”、"sh“、"tcsh”、"zsh“、"JavaScript Debug终端”.
https://stackoverflow.com/questions/72917146
复制相似问题