How to Uninstall Visual Studio Code on Mac

How to uninstall Visual Studio Code on Mac - app and leftover files removed
Uninstall Visual Studio Code on Mac guide

Visual Studio Code itself is a lightweight editor, but its extensions, language servers and workspace storage push a typical installation into the gigabytes. All of that lives outside the app bundle. This guide covers how to uninstall Visual Studio Code on Mac and remove every file it leaves behind.

Short on space already? CleanMac removes apps and their leftover files in one pass — and shows you exactly what it will delete before anything is touched. Download free →

Below is the complete process, step by step: quitting the app properly, deleting it, clearing every folder it left behind, and confirming the space is actually back.

Why Dragging Visual Studio Code to the Trash Is Not Enough

Extensions install into a hidden folder in your home directory, and each workspace keeps an index for search and IntelliSense. The two together are usually several times larger than the editor.

Settings sync, extension caches and crash reports are stored separately, so a drag-to-trash leaves the editor’s whole support structure in place.

How Much Space Does Visual Studio Code Take on Your Mac?

Space use varies with how long the app has been installed and how heavily you use it. These are typical figures for a machine that has run Visual Studio Code for a year or more.

Location What it holds Typical size
Visual Studio Code.app The editor 350 – 500 MB
~/.vscode/extensions Extensions and language servers 500 MB – 3 GB
~/Library/Application Support/Code Workspace storage and caches 200 MB – 2 GB
~/.vscode CLI data and settings Under 200 MB

How to Uninstall Visual Studio Code on Mac Manually

Step 1: Quit Visual Studio Code Completely

Press Command + Q. If a language server or extension host keeps running, end the Code Helper processes in Activity Monitor before deleting anything.

Step 2: Move the App to the Trash

Open Finder → Applications, drag Visual Studio Code to the Trash, and confirm with your password or Touch ID. If the app lives in a subfolder, remove the whole folder when it belongs to the same package.

Step 3: Delete the Leftover Files

Open Finder, press Command + Shift + G, paste each path below, and move the matching item to the Trash. Some folders only exist if the app has been used recently, so a missing path is normal.

Path What to remove
~/.vscode/extensions Installed extensions
~/Library/Application Support/Code Workspace storage and cache
~/.vscode CLI data
~/Library/Caches/com.microsoft.VSCode Editor cache
~/Library/Preferences/com.microsoft.VSCode.plist Preferences
~/Library/Saved Application State/com.microsoft.VSCode.savedState Window state

Step 4: Empty the Trash

Right-click the Trash in the Dock and choose Empty Trash. Disk space is only returned at this point — until then the files still occupy storage.

If you want to see the wider picture of what is filling your disk, read our guide on how to free up disk space on Mac.

How to Uninstall Visual Studio Code with CleanMac (One Click)

The manual route works, but it depends on you finding every path and not mistyping one. CleanMac does the same job in a single pass and lists what it found before removing anything.

Step 1: Download and open CleanMac

Download CleanMac and open it. It sits in the menu bar and needs no configuration.

Step 2: Choose Uninstaller in the sidebar

Click Uninstaller in the left sidebar. CleanMac scans every installed app and lists it with the app size and the size of its related files.

CleanMac Uninstaller selected in the sidebar
Choose Uninstaller in the CleanMac sidebar.

Step 3: Locate Visual Studio Code in the app list

Find Visual Studio Code in the list. CleanMac shows the app size plus the combined size of its leftover files, so you can see what the app really occupies before touching anything.

Step 4: Select Visual Studio Code and click Move to Trash

Tick the checkbox next to Visual Studio Code, then click Move to Trash at the bottom of the window. CleanMac shows the app and the related files it will remove, then deletes them together.

App ticked in CleanMac Uninstaller with the Move to Trash button
Select the app, then click Move to Trash.

CleanMac removes the app bundle, caches, preferences, saved state, logs, and container data together, so nothing is left scattered across your Library. The same process works for any other app — see how to uninstall apps on Mac completely.

What Happens to Your Data After Uninstalling Visual Studio Code?

Your project folders are untouched. Extensions, workspace indexes and the local settings cache are removed. If you enabled Settings Sync, settings and extensions return after signing in again.

If you are unsure whether you still need something, check Visual Studio Code’s setup documentation first: VS Code docs.

Uninstall Visual Studio Code cleanly — including the leftovers.

CleanMac finds the app, its caches, and every hidden support file, then removes them together. Preview first, delete second.

Download CleanMac FreemacOS 13+ · Free

Summary

The editor itself is a small download, but its extensions, language servers, and workspace data live in hidden folders that keep growing over time. Removing the application alone leaves those files behind and reclaims very little space. This guide shows how to quit the editor, clear the extensions folder, and decide whether to keep your settings file. Project code stored in your work folders is never affected.

Frequently Asked Questions

How much space will I free up by uninstalling Visual Studio Code?

Budget 1 to 5 GB, with the extensions folder usually taking the largest share. Language servers and linters bundle their own runtimes these days, so a handful of them can outweigh the editor many times over. Check the folder size in Finder before deleting.

Will I lose my settings or account data?

Project files are safe, but extensions and local preferences are deleted along with the app data. They come back only if Settings Sync was turned on and you sign in with the same account. If it was off, copy the settings file somewhere safe beforehand.

Can I remove only some extensions to save space?

Yes, you can delete individual folders inside ~/.vscode/extensions and restart the editor to reclaim space. Unused language packs and duplicate linters are the usual candidates. The extension list in the sidebar updates on the next launch, and anything you still need can be installed again from the marketplace.

Where are my user settings stored?

Your configuration lives in ~/Library/Application Support/Code/User/settings.json, together with keybindings and snippets in the same folder. Copy that file to another location before deleting the folder, then restore it after reinstalling. Signing in with Settings Sync enabled achieves the same result more easily.

Can I reinstall Visual Studio Code later?

Yes, the download is free from the vendor and signing in with Settings Sync restores your extensions and preferences. Without sync, you are back to a clean editor and will need to reinstall the extensions you rely on. Keep the settings file you copied if you want the old layout back.