Reputation: 205
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.
Upvotes: 19
Views: 73388
Reputation: 69
i too had a similar issue, and found (thru trial and error and multiple stackoverflow searches)
console
tab$drive:\Users\Yourname.vscode\extensions
Upvotes: 6
Reputation: 1
In my case, my tests loaded again once I added the following line to .vscode/settings.json:
"python.experiments.enabled": false
For example, my settings.json files looks like this:
{
"python.testing.pytestArgs": [
"tests"
],
"python.testing.pytestEnabled": true,
"python.testing.unittestEnabled": false,
"python.experiments.enabled": false
}
Upvotes: 0
Reputation: 61
This happened to me in the portable version (1.73.3). I deleted the extensions folder {vscode root}/data/extensions
. Re-installing all extensions afterwards worked for me
Upvotes: 0
Reputation: 5931
I had this problem too. You can fix with the following:
Disable All Installed Extensions
Enable All Extensions
.You can make sure again that the extensions are enabled.
Upvotes: 44
Reputation: 81
in my case removing "Todo Tree" plugin which is one of the VS Code plugins solved the problem,
https://marketplace.visualstudio.com/items?itemName=Gruntfuggly.todo-tree
if it is installed uninstall it and the problem will be solved
Upvotes: 3
Reputation: 121
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)
Upvotes: 0
Reputation: 1
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.
Upvotes: 0
Reputation: 17
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.
Upvotes: 2