Vscode-code-runner: How to run code in iTerm on macOS

Created on 10 Oct 2017  ·  3Comments  ·  Source: formulahendry/vscode-code-runner

Hi, I want to run code in iTerm on macOS, but it doesn't work.

my configuration:

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

Most helpful comment

Currently, it only supports running in two areas:

  • Output Channel
  • Integrated Terminal

So, running in external terminal will be a feature request.

All 3 comments

"terminal.external.osxExec" is for external terminal.
You need to update "terminal.integrated.shell.osx" for integrated terminal, refer to https://code.visualstudio.com/docs/editor/integrated-terminal#_configuration
BTW, "code-runner.terminalRoot" is no need to change.

Let me know if it works for you.

May be I didn't express my meaning correctly.

I would like to use vscode-code-runner to run code in external terminal (like iTerm) on macOS.

Currently, it only supports running in two areas:

  • Output Channel
  • Integrated Terminal

So, running in external terminal will be a feature request.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ElektroStudios picture ElektroStudios  ·  4Comments

manikantag picture manikantag  ·  4Comments

Yensan picture Yensan  ·  4Comments

emadb picture emadb  ·  5Comments

mjaniec2013 picture mjaniec2013  ·  5Comments