Vscode-code-runner: 如何在 macOS 上的 iTerm 中运行代码

创建于 2017-10-10  ·  3评论  ·  资料来源: formulahendry/vscode-code-runner

嗨,我想在 macOS 上的 iTerm 中运行代码,但它不起作用。

我的配置:

{
    "terminal.explorerKind": "external",
    "terminal.external.osxExec": "iTerm.app",
    "code-runner.runInTerminal": true,
    "code-runner.terminalRoot": "/Applications/iTerm.app"
}
feature request

最有用的评论

目前只支持在两个区域运行:

  • 输出通道
  • 综合终端

因此,在外部终端中运行将是一个功能请求。

所有3条评论

"terminal.external.osxExec"用于外部终端。
您需要为集成终端更新"terminal.integrated.shell.osx" ,请参阅https://code.visualstudio.com/docs/editor/integrated-terminal#_configuration
顺便说一句, "code-runner.terminalRoot"无需更改。

请让我知道这对你有没有用。

可能是我没有正确表达我的意思。

我想使用vscode-code-runner在 macOS 上的外部终端(如 iTerm)中运行代码。

目前只支持在两个区域运行:

  • 输出通道
  • 综合终端

因此,在外部终端中运行将是一个功能请求。

此页面是否有帮助?
0 / 5 - 0 等级