Visual Studio Code extensions stopped working suddenly

Viewed 6994

I'm having problem with my Visual Studio Code. Yesterday I had my pc shut down with VS Code open, and when I turned pc on again, all VS Code extensions stopped working. I'm using React and Typescript in my project and I really need those extensions. My eslint and prettier configurations also stopped working. If somebody had the same problem please answer.

4 Answers

I had this problem too. And it helped: When you open VSCode in the View section then Extensions in this menu you will find in the corner (right / left depending on your settings) three dots. Views and more Actions click Disable All Installed Extensions then Enable All Extensions. Restart VSCode and it should be done; -) You can make sure again that the extensions are enabled.. Good Luck ! Best regards ! I hope it works for You ! ;-)

I had that problem on WSL (Windows Subsystem for Linux). The error was like this:

/mnt/c/Users/Admin/.vscode/extensions/ms-vscode-remote.remote-wsl-0.63.13/scripts/wslCode.sh: 69: /home/raul/.vscode-server-server/bin/5554b12acf27056905806867f251c859323ff7e9/bin/code: not found

The solution was to go to Windows PowerShell and open Visual Studio Code, then go to the extensions and restart the Remote - WSL extension, and go back to WSL. It then started working immediately.

It's weird. when I use WSL2 terminal opening Visual Studio Code, an exception occurs, expressing that wslCode.sh: 69.

But when I open Visual Studio Code in Windows, then type code . in WSL2 terminal, it works without an exception.

Please check if you are able to turn on your settings sync. I had an issue like this and I couldn't even access the account option on vs code (the second last icon on the right horizontal panel.

If not (it's a long shot) try uninstalling vs code and reinstalling VS Code completely. I used these commands to do so (works for mac)

Related