How do I remove VS Code & settings from Ubuntu?

Try renaming ~/.config/Code/User/settings.json.

Or just move/delete the folders ~/.config/Code and ~/.vscode.

You may want to backup any code snippets in ~/.config/Code/User/snippets/

See also: Visual Studio Code User and Workspace Settings


Remove software

  • If you installed via Snap:

    $sudo snap remove vscode

  • If you installed via apt:

    $sudo apt-get purge code

  • If you installed via Ubuntu Software, open Ubuntu Software, look for the app in the installed category, and click on remove.

Remove settings

$cd ~ && rm -rf .vscode && rm -rf .config/Code