Visual Studio Code extensions disappeared after changing the name of my PC, and the extensions automatically get uninstalled now. I have an extensions folder in my .vscode folder, but they aren't showing up in VSC.
I've tried uninstalling and reinstalling vsc but it doesn't work and the extensions still won't stay installed. I changed "My PC" name to a name with no spaces because I kept getting this error:
Name in the package.json file has illegal characters" error
After changing "My PC" to a name with no spaces, then that error went away but now my extensions are gone.
Related
I'm using ZSH and installed the code command in path for VSCode, I have also made the settings to inherit the env in the integrated terminal. However, when I type in code . from my terminal it launches an empty VSCode folder structure, despite having a bunch of files and folders in it.
What am I missing?
When i right click to open my project folder in VSCode, it is not opening, instead popup is shown as "Application not found". I tried reinstalling, but didn't work.
Try to open your project from File-> Open Folder menu in VS code. Than double click on your loaded project files.
I ran into this after a reinstall of VS Code. I had switched from the User Installer to the System Installer version.
Image of current download optons
The install didn't update the registry to change the Icon and "Open with Code" context menu to use the new path to Code.exe.
So you have a couple options. Reinstall your initial version (User vs System) or update your registry anywhere Code.exe is referenced.
User path: C:\Users[username]\AppData\Local\Programs\Microsoft VS Code\Code.exe
System path: C:\Program Files\Microsoft VS Code\Code.exe
Or perhaps even uninstall, clear out the references to Code.exe in your Registry, then install the version you'd like
I have installed vscode-icons extension. And set this as my preferred File-Icon Theme using File -> Preferences option in Visual Studio Code. All folders and files icons disappear. The extension is installed properly and I could see all the icons in the installed extension folder.
But when I switch back to Set(Visual Studio Code) theme, all the folder and file icons are visible. I have tried all possible options like install and uninstalling packages, libraries, extensions and VS Code itself. Please find below screen shot,
I am able to see folder and file icons after installing one more alternative extension called file-icons.file-icons.
Earlier I tried at least 2 extensions. But to my surprise, none of them worked. So I assumed that, something wrong in the VS Code.
After reinstalling vscode because I forgot to add it to start menu,
whenever I clicked "open with code" after right clicking in explorer menu, it gave me this error:
"Application not found"
I told vscode to add this option in explorer when installing!
Any help?
I ran into this after a reinstall of VS Code. I had switched from the User Installer to the System Installer version.
The install didn't update the registry to change the Icon and "Open with Code" context menu to use the new System path to Code.exe.
So you have a couple options. Reinstall your initial version (User vs System) or update your registry anywhere Code.exe is referenced.
User path: C:\Users[username]\AppData\Local\Programs\Microsoft VS Code\Code.exe
System path: C:\Program Files\Microsoft VS Code\Code.exe
Or perhaps even uninstall, clear out the references to Code.exe in your Registry, then install the version you'd like
My OS: Windows 10
Problem: some weird things are happening, File icons disappeared for example.
Anyway to completely uninstall so I can reinstall from scratch.
I tried just uninstalling, upon reinstalling every setting was there: files, settings, extensions....
Attention: this will remove your program settings, installed extensions and workspace settings!!!
Better make backup first.
You can try to delete these folders after uninstalling program:
C:\Users\<USERNAME>\AppData\Local\Programs\Microsoft VS Code (program folder for user installation)
or
C:\Program Files\Microsoft VS Code (program folder for 64-Bit-Windows)
or
C:\Program Files (x86)\Microsoft VS Code (program folder for 32-Bit-Windows)
C:\Users\<USERNAME>\.vscode (installed extensions)
C:\Users\<USERNAME>\AppData\Roaming\Code (program settings, workspace settings)
And then reinstall.