简体   繁体   中英

Cannot open terminal in VS Code

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:)

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

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM