Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Visual Studio Code - Terminal Blank Screen

I've been using Visual Studio Code since it was in beta and one of the features I like best about it is the integrated terminal for using the Angular CLI in app. I've had it working fine since I had the laptop, but I re-installed Windows 10 over the Xmas break and obviously as a result had to re-install Visual Studio Code.

Since then I've had issues with the Terminal, it's blank until you hit return, at which point you see the path, but not the usual copyright notice you should get from the Windows Command Line.

Before hitting return: VS code Terminal 1

After hitting return: VS Code Terminal 2

And this is what I was expecting directly from the Windows 10 Command Line: Windows Terminal

So far I've tried the following:

  • The usual Windows shut down / restart
  • Re-installing VS Code (even changed from regular to insiders)
  • Changing the default Command Line Shell from CMD to Powershell and back again
  • Adding a new Command Line Shell

Is there anything else I can try? Has anyone else encountered the same issue?

like image 273
Web Develop Wolf Avatar asked Jan 08 '19 13:01

Web Develop Wolf


People also ask

How do I display 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.


1 Answers

My solution for VSCode 1.39.2 with Ubuntu has been:

File -> Preferences -> Setting -> Features -> Terminal -> Inherit Env

like image 86
Francisco Avatar answered Sep 20 '22 06:09

Francisco