VSCode Change Default Terminal
I am using Visual Studio Code on my Windows 10 PC. I want to change my default terminal from Windows PowerShell to Bash on Ubuntu (on Windows).
How can I do that?
Solution 1:
You can also select your default terminal by pressing F1 in VS Code and typing/selecting Terminal: Select Default Profile
(or Terminal: Select Default Shell
in older VSCode versions).
Older:
Solution 2:
I just type following keywords in the opened terminal;
- powershell
- bash
- cmd
- node
- python (or python3)
See details in the below image. (VSCode version 1.19.1 - windows 10 OS)
It works on VS Code Mac as well. I tried it with VSCode (Version 1.20.1)
Solution 3:
Configure your default integrated terminal by running the Terminal: Select Default Profile command, which is also accessible via the terminal dropdown.
See https://code.visualstudio.com/docs/editor/integrated-terminal#_terminal-profiles