Search code examples
macosvisual-studio-codeuninstallation

How to completely uninstall VS Code on mac?


I need to do a clean installation of VS Code on my mac.

I opened the terminal and removed the .vscode/ from ~. I also deleted the Visual Studio Code.app/ from /. However, after deleting all that and downloading a fresh copy, I installed and open the editor and the editor remembered the last project I had. For me, that means that it is something else I need to delete but I can't find it. I went to the documentation but can't find anything about uninstalling the editor.

Does anyone know how to completely uninstall VSCode from mac?

What I have tried

Following these instructions and doing a new installation of VS Code, but it still keeps remembering the last project I opened.

https://developer.xamarin.com/guides/cross-platform/getting_started/installation/uninstalling_xamarin/#Using_the_Uninstall_Script


Solution

  • The solution to my problem was to cd to the following path... /Users/<user>/Library/Application\ Support and delete the folder called Code. That folder contains all the setting and is not overwrite with a new installation. Looking through the entire file structure, VSCode name folder different. Sometimes folders are called .vscode/, or code/, or Visual Studio Code.app.