Home > Net >  How can go back to a green underline in wsl this happen when code
How can go back to a green underline in wsl this happen when code

Time:04-26

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:

    1. Exit your WSL2 instance.
    2. Start PowerShell
    3. Run wsl ~ -e bash --noprofile --norc to start WSL without your shell startup files (which could be causing the problem).
    4. 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

    1. From within WSL, rm -rf ~/.vscode-server/
    2. Start code .

    The VSCode/WSL integration server will automatically be downloaded and reinstalled when starting code.

  • Related