visual-studio-code

Problem with VScode automatic uninstalled extension (Material theme)


"We have uninstalled 'equinusocio.vsc-material-theme' which was reported to be problematic."

enter image description here

This notification still pop-in every time I refresh VScode.

enter image description here


I already tried to manualy remove extension from extensions folder, but every time I open VScode this pop-up alerts show and apears that VScode tried to install it again.


Solution

  • I resolved this issue manually by performing the following steps:

    1. Remove the theme extension folder:

      Open a terminal and navigate to the VS Code extensions folder to delete it (verify the version before).

      cd ~/.vscode/extensions
      rm -rf equinusocio.vsc-material-theme-34.7.9/ 
      
    2. Edit extensions.json:

      After removing the theme's folder, open the extensions.json file and search for any entries related to equinusocio. Delete the corresponding section related to the theme, e.g.:

      {
        "identifier": {
          "id": "equinusocio.vsc-material-theme",
          "uuid": "dffaf5a1-2219-434b-9d87-cb586fd59260"
        },
        "version": "34.7.9",
        "location": {
          "$mid": 1,
          "path": "/home/ateveraz/.vscode/extensions/equinusocio.vsc-material-theme-34.7.9",
          "scheme": "file"
        },
        "relativeLocation": "equinusocio.vsc-material-theme-34.7.9",
        "metadata": {
          "installedTimestamp": 1739712853055,
          "source": "gallery",
          "id": "45bfc9eb-5e03-487f-bffe-315fa6881d6a",
          "publisherId": "3b9d55d2-da9e-415a-9bea-8d6bc07147d8",
          "publisherDisplayName": "Equinusocio",
          "targetPlatform": "undefined",
          "updated": false,
          "isPreReleaseVersion": false,
          "hasPreReleaseVersion": false
        }
      }
      

      Note: If you are using Windows or MacOS, I think that those files are in %USERPROFILE%\.vscode\extensions or in ~/.vscode/extensions, respectively.