kosohae
kosohae

Reputation: 25

Vs code blank terminal problem, can't enter anything

I'm user using Visual Studio code. A few days ago, I've gone through some problems. It's about "blank terminal". I'm not sure what trigger this problem. I guess it's related with vs code updated 1.39 version. I attached the picture below.

enter image description here I've tried searching solution in order to solve this problem. but I failed. 1. remove the 1.39 version. and re install vscode. (remove vscode file) - sudo apt remove vscode, sudo apt autoremove - I searched .vscode and then remove all( some setting file left.) 2. I tried to install vscode by snap, but result was same. 3. I started with root - sudo code --user-data-dir => teminal is possible to see but environments not working => fail 4. I tried down grade. - version 38,37 => failed (it's same result) - version 32 => success (but it's old version, limited several utilities)

**Ubuntu 18.04.3 LTS , 64 bit Anyone having same problems and working out, Please tell some methods. I look forward to getting reply. Thanks.

Upvotes: 1

Views: 5335

Answers (3)

NJHJ
NJHJ

Reputation: 142

Setting "terminal.integrated.inheritEnv" to true in settings.json solved this problem for me.

I think it is related to this bug

Upvotes: 5

JaRay
JaRay

Reputation: 164

I was running into this issue with vscode that was installed through the ubuntu software center

I uninstalled it and deleted any settings using this https://superuser.com/questions/1113022/how-do-i-remove-vs-code-settings-from-ubuntu

I then installed through anaconda since I was already using it. This install worked fine.

Upvotes: 0

Null
Null

Reputation: 33

You need to select a default shell. Where it says 1:, click the down arrow and select your shell.

Upvotes: 1

Related Questions