Home > Software engineering >  Cannot open terminal in VS Code
Cannot open terminal in VS Code

Time:12-03

I need to open a terminal in Visual Studio. I've tried

  • Re-installing VS Code
  • The usual Windows shut down / restart
  • Run vs code as admin
  • Change settings.json file

I didn't change anything but something is broken in my code Editor help needed :)

CodePudding user response:

press ctrl `, it might work, and if it doesn't try reinstalling the vs-code again and then try the above key again. Let me know if it helped or not

CodePudding user response:

For Windows users:

  1. Open PowerShell terminal (windows button r -> cmd)
  2. Right click on the title bar
  3. Open properties
  4. Check the "Use legacy console" checkbox

For Linux users:

  1. Open VS Code
  2. Ctrl ,
  3. Search env and find Terminal > Integrated> Env: Linux
  4. Add this "terminal.integrated.inheritEnv": true to the object body
  • Related