How can I go back again to a path or to a green underline this problem I encounter when I click code [. to o][1]pen a visual studio this problem occurs to my ubuntu terminal wsl
https://drive.google.com/file/d/1lXbbyK-scMQGwbT5mwEHgIBZE9Y8C3bw/view?usp=sharing
CodePudding user response:
You can press Ctrl C to cancel all current operations and return to your shell.
CodePudding user response:
While I don't know that it will help (since I'm not quite sure exactly what is causing the problem), these would be my first two primary steps for troubleshooting VSCode/shell issues:
Try without shell customizations:
- Exit your WSL2 instance.
- Start PowerShell
- Run
wsl ~ -e bash --noprofile --norc
to start WSL without your shell startup files (which could be causing the problem). - With WSL started, run
code .
again there.
If it starts correctly and returns you to the shell prompt, then that points to a problem in your
~/.bashrc
or~/.bash_profile
(or potentially other startup files).Delete the VSCode/WSL server
- From within WSL,
rm -rf ~/.vscode-server/
- Start
code .
The VSCode/WSL integration server will automatically be downloaded and reinstalled when starting
code
.- From within WSL,