Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Integrated terminal in visual studio code is opening externally and not internally

I have reinstalled Visual Studio Code and for some reason, when I do the Ctrl+Shift+` shortcut, instead of opening a terminal window inside VS Code, it's opening an external command window, which is very annoying.

Anyone knows what setting it is to get it back internally?

I tried File->Preferences->Settings->Terminal and then set the first option "Customizes what kind of terminal to launch." to integrated.

Is there any other setting I need to set?

like image 417
JMon Avatar asked Oct 05 '19 08:10

JMon


People also ask

How do I open the internal terminal in VS Code?

To open the terminal: 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.

Why terminal is not opening in VS Code?

Changing Default Command Line Shell Then, click on the arrow on the side of a plus (+). Here, choose Select Default Profile. Then, select any other type of command line shell. Then, restart vs code and try working on terminal.


Video Answer


2 Answers

Happened the same with me. It was because I was using Legacy Console. To disable that, open any of your terminal (cmd or powershell) and right click to go to properties. Properties -> Options -> Use Legacy console (tick it off).

like image 148
Chinmay Shah Avatar answered Nov 10 '22 02:11

Chinmay Shah


Turn off ConPTY integration in the

File->Preferences->Settings->conPTY->Uncheck it

This is worked for me as mentioned here: https://stackoverflow.com/a/56267064/2462531

like image 25
Shailendra Madda Avatar answered Nov 10 '22 02:11

Shailendra Madda