Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to run code in iTerm on macOS #188

Open
nmchgx opened this issue Oct 10, 2017 · 3 comments
Open

How to run code in iTerm on macOS #188

nmchgx opened this issue Oct 10, 2017 · 3 comments

Comments

@nmchgx
Copy link

nmchgx commented Oct 10, 2017

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"
}
@formulahendry
Copy link
Owner

formulahendry commented Oct 10, 2017

"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.

@nmchgx
Copy link
Author

nmchgx commented Oct 11, 2017

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.

@formulahendry
Copy link
Owner

Currently, it only supports running in two areas:

  • Output Channel
  • Integrated Terminal

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants