I had this problem too. You can fix with the following:

  1. Open the command palette (Ctrl + Shift + P)
  2. Run Disable All Installed Extensions
  3. Then run Enable All Extensions.
  4. Restart Visual Studio Code

You can make sure again that the extensions are enabled.

Answer from MarioG8 on Stack Overflow
🌐
GitHub
github.com › microsoft › vscode › issues › 244821
'invalid extension detected' and needs reinstall · Issue #244821 · microsoft/vscode
March 26, 2025 - The workaround: uninstall the Python extension, quit and reopen vscode, then install the Pylance extension.
Author   Hnasar
Discussions

Unable to install or update extensions in VS Code
Alright, so last evening I opened VS Code and found the "Prettier" extension to be missing...Naturally, I searched for it and tried to install it..but apparently it shows this error - "Error while installing 'Prettier - Code formatter'… More on learn.microsoft.com
🌐 learn.microsoft.com
2
2
January 1, 2024
python extensions not working
Downgrade your Pylance extension to v2023.10.40. And turn off automatic upgrade extensions. "extensions.autoUpdate": false More on reddit.com
🌐 r/vscode
6
2
October 28, 2023
Extensions are not loaded if there is an invalid extensions.json file in extensions folder
Does this issue occur when all extensions are disabled?: Yes VS Code Version: 1.74.0 OS Version: Win 10 x64 Steps to Reproduce: Update VSCode to 1.74.0 Open VSCode Any extension won't be loaded, Th... More on github.com
🌐 github.com
11
December 8, 2022
Not able to install extensions in Visual Studio Code (VSC) - Stack Overflow
VSC version is latest (1.79.2) My computer has Windows 10 I have installed multiple times VSC in last 2 days, and every time I have the following error when opening VSC: "[error] Error scanning More on stackoverflow.com
🌐 stackoverflow.com
🌐
GitHub
github.com › microsoft › vscode › issues › 169641
Extensions are not loaded because of invalid extensions manifest file · Issue #169641 · microsoft/vscode
December 20, 2022 - ERR Error scanning installed extensions: workbench.desktop.main.js:616 ERR Error: Invalid extensions content in vscode-userdata:/c:/Users/jrieken/.vscode-insiders/extensions/extensions.json at Object.factory (workbench.desktop.main.js:741:17679) 6workbench.desktop.main.js:616 ERR Error: Invalid extensions content in vscode-userdata:/c:/Users/jrieken/.vscode-insiders/extensions/extensions.json at Object.factory (vscode-file://vscode-app/c:/Users/jrieken/AppData/Local/Programs/Microsoft VS Code Insiders/resources/app/out/vs/code/electron-browser/sharedProcess/sharedProcessMain.js:87:92424) workb
Author   jrieken
🌐
Reddit
reddit.com › r/vscode › python extensions not working
r/vscode on Reddit: python extensions not working
October 28, 2023 -

I have a virtualbox VM, and this vm shares a folder with my actual pc. This folder is what contains all the code. I have vscode on my actual pc to edit that folder's contents, but the code runs on the VM.

The VM is ubuntu 20.04, my actual pc is Windows 10, and the VM's python version is 3.8.10

yesterday, vscode suddenly started crashing. The icon turned into the default windows exe file icon, and whenever I close it, an error window appears. Back then I didn't think much of it, but on second thought, I should have saved that error message. Anyways, I thought that reinstalling vscode would work. After reinstalling, my old extensions are already installed for some reason, but they aren't working. The highlighting and autocomplete functions aren't working, and would display "Loading..." when I hover over stuff:

the field names should be blue, the "models." stuff should be green, and it should not say "Loading..."

I found a stackoverflow post with a similar issue: https://stackoverflow.com/questions/50389852/visual-studio-code-intellisense-not-working

The post doesn't seem to have a solution, but I tried most of their suggestions. I tried reinstalling the extensions, changing them to pre-release, uninstalling pylance, etc. to no avail. Some replies talked about the path to the python executable, but I feel like that doesn't really apply in my case, since even though I have python on my actual pc, all the code is ran by the python executable on the VM. In any case, I still selected an interpreter at the bottom right of the screen.

Here are my current extensions:

Here is my current settings.json:

A friend suggested looking at the logs for python language server, and there indeed seems to be an error every time I open vscode, though I'm not sure what's causing this:

at the end of my ropes here, so any help is greatly appreciated. Please let me know if you need more information.

🌐
GitHub
github.com › microsoft › vscode › issues › 245986
Invalid extensions detected · Issue #245986 · microsoft/vscode
microsoft / vscode Public · Notifications · You must be signed in to change notification settings · Fork 31.4k · Star 170k · New issueCopy link · New issueCopy link · Open · Open · Invalid extensions detected#245986 · Copy link · Assignees · Labels · bugIssue identified by VS Code Team member as probable bugIssue identified by VS Code Team member as probable bugextensionsIssues concerning extensionsIssues concerning extensions ·
🌐
GitHub
github.com › microsoft › vscode › issues › 168497
Extensions are not loaded if there is an invalid extensions.json file in extensions folder · Issue #168497 · microsoft/vscode
December 8, 2022 - Does this issue occur when all extensions are disabled?: Yes VS Code Version: 1.74.0 OS Version: Win 10 x64 Steps to Reproduce: Update VSCode to 1.74.0 Open VSCode Any extension won't be loaded, The extensions section says that I don't h...
Author   ricardo-dlc
Find elsewhere
🌐
Arch Linux Forums
bbs.archlinux.org › viewtopic.php
[SOLVED] VS Code, after upgrading: Python extension fails to load...? / Applications & Desktop Environments / Arch Linux Forums
January 3, 2023 - UPDATE: I found https://github.com/microsoft/vscode-python/issues/15445 and now understand that I should use the CONSOLE-stuff from Help > Toggle Developer Tools. This reveals: *** Extension activation failed, run the 'Developer: Toggle Developer Tools' command for more information.
🌐
Reddit
reddit.com › r/vscode › i cannot install any extensions.
r/vscode on Reddit: I cannot install any extensions.
December 29, 2023 - Maybe there's a firewall rule blocking VSCode? ... Installing through the terminal with the VSIX worked! Thanks! ... I had the same situation a couple weeks ago on my w10 machine. I wasn't able to solve it in stable version of VS Code, so I downloaded and installed the insiders build of VS Code, and it works great. ... Time to install and use neovim. ( I use Arch btw. ) ... I've been seeing this "Closing the window is taking a bit longer" because of stopping extension hosts lately.
🌐
Visual Studio Code
code.visualstudio.com › blogs › 2021 › 02 › 16 › extension-bisect
Resolving extension issues with bisect
November 3, 2021 - Open the Extensions view (⇧⌘X (Windows, Linux Ctrl+Shift+X)), disable an extension, reload the window (Developer: Reload Window), and check to see if the problem still exists.
🌐
GitHub
github.com › microsoft › vscode › issues › 169359
[Bug] The latest version of VSCode does not recognize installed extensions in the user's `data` folder. · Issue #169359 · microsoft/vscode
December 16, 2022 - Open VSCode and expect it to function normally. Realize that all of your extensions are not on VSCode, making you scream in frustration.
Author   kris3713
🌐
Microsoft Learn
learn.microsoft.com › en-us › answers › questions › 1824237 › why-is-vs-code-not-showing-any-extensions-whether
Why is VS Code not showing any extensions whether they be installed, popular, or even recommended? - Microsoft Q&A
July 18, 2024 - Make sure that you have enough rights to access to the network and download the extensions. Run the VS Code as administrator. Also, try to clean some cache folders under C:\Users\username\.vscode\extensions and C:\Users\username\AppData\Roa...
🌐
Medium
medium.com › @garhy.ahmed › vscode-extensions-download-fails-resolved-f318507ea411
VScode Extensions Download Fails (Resolved) | by Ahmed Garhy | Medium
September 13, 2019 - In google, the issue seems to be either new or very rare but I was lucky to find some clues on microsoft/vscode github issues that lead to a DNS issue possibility. By enabling vscode developer tools from Help > Toggle Developers Tools it was obvious that requests sent for retrieving the extension Data, Icon and Details all fail.
🌐
Grafana
community.grafana.com › grafana k6 › oss support
Visual Studio Code doesnt find extensions modules - OSS Support - Grafana Labs Community Forums
November 18, 2021 - I’m having some problems to run tests through VS Code in Windows. It cant find the extension modules. For example, i receive that message error: unknown module: k6/x/sql Another problem is that VS Code can’t find xk6 …
🌐
Dynamics Community
community.dynamics.com › forums › thread › details
Visual Studio Code Extensions not working
February 24, 2021 - I have about 20 extensions installed but, for some reason, they now seem to have stopped working. For example, Bracket Pair Colorizer; Prettier Formatter and CSS Peek. I can't identify any reason why they may have stopped working and I even tried uninstalling VSC and re-installing but the problem ...