Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Change default terminal app in Visual Studio Code on Mac

I want to change the default terminal app used by Visual Studio Code for Mac. I am thinking it is part of preferences or settings json, but unsure.

like image 449
Joey Schluchter Avatar asked Apr 30 '15 01:04

Joey Schluchter


People also ask

How do I change the default terminal path in VSCode?

From the main menu, go to File > Preferences > Settings, and click on the “Open Settings (JSON)” icon shown below. Add a section, “terminal.

How do I change the integrated terminal in VSCode?

Use the Ctrl+` keyboard shortcut with the backtick character. Use the View > Terminal menu command. From the Command Palette (Ctrl+Shift+P), use the View: Toggle Terminal command. You can create a new terminal via the Terminal menu with Terminal > New Terminal.


1 Answers

Here's an example of how to make another terminal the default for VSCode, in this example I've downloaded iTerm2 and copied iTerm2 to Applications.

  1. Code (Menu) > Preferences > User Settings

enter image description here

  1. Edit settings.json "terminal.external.osxExec": "iTerm.app" and "terminal.explorerKind": "external"

enter image description here

  1. Open in Terminal

enter image description here

  1. iTerm is now default terminal launched from VSCode

enter image description here

like image 192
LeLong37 Avatar answered Sep 18 '22 14:09

LeLong37