Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Completely uninstall VS Code extensions

Since the latest release of VS Code, I get an error whenever I open a C# file (I have installed the csharp language extension, powered by OmniSharp). This is the error I get:

enter image description here

I tried uninstalling the extension and re-install it, same problem. I uninstalled the application altogether and reinstalled it - but when I do that, my extensions are still installed (for instance Python and reStructuredText were still there). I uninstalled yet again and deleted the %USER%\AppData\Roaming|Local\Code directory. When I reinstalled, the extensions were still there.

How do I completely remove the installed extensions? I'd like to be sure I'm starting from scratch before opening a bug for the OmniSharp extension crash.

like image 584
Astaar Avatar asked Apr 20 '16 14:04

Astaar


People also ask

How do I completely reset VS Code?

If you want to reset everything, go to %userprofile%\AppData\Roaming\Code and delete the whole folder after you uninstall the VS code, then install it again. Also in %userprofile%\. vscode delete extensions folder in case you want to delete all extensions. Just deleting the code folder did the trick for me.

How do I completely uninstall VS Code Mac?

You don't have to mess with the commands, just drag VSCode from the Applications folder into AppCleaner interface, it will automatically search for any files that may connect to VSCode. Finally, you just have to click on the Remove button to safely complete the uninstalling process.

Where are VS Code extensions stored?

However, extensions are stored in %USERPROFILE%\. vscode\extensions on Windows.


1 Answers

Turns out the extensions are stored under %USER%\.vscode\extensions. Deleting that gets rid of them.

For Windows : %USER%\\.vscode\extensions (or) %USERPROFILE%\.vscode\extensions

Location of extensions for Linux/MAC: ~/.vscode/extensions

like image 129
Astaar Avatar answered Sep 24 '22 09:09

Astaar