Steps to set customized external terminal in VS Code

Step 1:
Go to File -> Preferences -> User settings

Step 2:
Add one of the following line based on the environment to settings.json file

// to run on OS X
"terminal.external.osxExec": "Terminal.app"
// to run on linux
"terminal.external.linuxExec": "xterm"
// to run windows
"terminal.external.windowsExec": "%COMSPEC%"

For example, if we want to set Git Bash as an external terminal. We can achieve it by providing Git bash exe URL as follows

"terminal.external.windowsExec": "C:\\Program Files\\Git\\bin\\bash.exe"

Restart the VS Code instance to apply the settings.

Keyboard Shortcut to open external terminal in VS Code is Ctrl + Shift + C

Happy Coding 🙂

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s