嗨,我想在 macOS 上的 iTerm 中运行代码,但它不起作用。
我的配置:
{
"terminal.explorerKind": "external",
"terminal.external.osxExec": "iTerm.app",
"code-runner.runInTerminal": true,
"code-runner.terminalRoot": "/Applications/iTerm.app"
}
"terminal.external.osxExec"
用于外部终端。
您需要为集成终端更新"terminal.integrated.shell.osx"
,请参阅https://code.visualstudio.com/docs/editor/integrated-terminal#_configuration
顺便说一句, "code-runner.terminalRoot"
无需更改。
请让我知道这对你有没有用。
可能是我没有正确表达我的意思。
我想使用vscode-code-runner在 macOS 上的外部终端(如 iTerm)中运行代码。
目前只支持在两个区域运行:
因此,在外部终端中运行将是一个功能请求。
最有用的评论
目前只支持在两个区域运行:
因此,在外部终端中运行将是一个功能请求。