VS Code and Cursor on a Mac: the extensions folder, cached installers and the old versions that stay behind
We measured VS Code and Cursor on a real Mac (a developer Mac mini on macOS 27.0.1) on 13 November 2026. The surprise: the biggest folder isn't workspaceStorage, the one most guides blame. It's the extensions folder, and a second copy of the same extensions sitting in an installer cache.
What we found on one Mac
| Folder | Size | What it is |
|---|---|---|
~/.vscode/extensions | 2.3 GB | Installed extensions, one folder per version |
~/Library/Application Support/Code/CachedExtensionVSIXs | 876 MB | The downloaded .vsix installers, kept after install |
~/Library/Application Support/Code/CachedData | 54 MB | Compiled-code cache, one folder per VS Code build |
…/Code/WebStorage | 73 MB | Web storage used by the editor and extensions |
…/Code/Cache + GPUCache + logs | 38 MB | Chromium caches and logs |
…/Code/User/workspaceStorage | 0.5 MB (6 folders) | Per-project state, chat history, editor state |
…/Code/User/globalStorage | 0.8 MB | Per-extension saved data |
~/Library/Application Support/Cursor | 214 MB | Cursor's equivalent (CachedData 132 MB, User 61 MB) |
~/.cursor/extensions | 99 MB | Cursor's extensions |
Total for the two editors: about 3.5 GB. Two of those rows, the extensions and the installer cache, are 3.2 GB of it.
The old version that stayed behind
Extensions update by installing the new version next to the old one. The old folder is marked as obsolete and removed later. We looked at the extensions folder the day after an update:
| Extension (a coding assistant that ships a native binary) | Version | In extensions | In installer cache | Status |
|---|---|---|---|---|
| Extension A | older build (24 Oct) | 1.0 GB | 384 MB | Listed in .obsolete, still on disk |
| Extension A | newer build (12 Nov) | 960 MB | 332 MB | Current |
| Extension B | 2.1.322 | 321 MB | 145 MB | Current (its previous version was already gone) |
| Extension C | 26.1106 | 4.7 MB | 1.8 MB | Current |
The hidden file <code>~/.vscode/extensions/.obsolete</code> is a small JSON list of folder names the editor intends to delete. On our Mac it named two: one was already gone, the other was still there, 1.0 GB plus its 384 MB installer copy. That's about <b>1.4 GB, 44% of the 3.2 GB</b>, for a version nobody is using.
Measure it (read-only)
Clean up, in this order
- Quit the editor completely (Cmd+Q, not just the window). It rewrites
extensions.jsonand.obsoletewhile it runs. - Start it again and give it a minute. If the obsolete folders disappear on their own, you're done. This is the supported route.
- If a folder named in
.obsoleteis still there after a restart, quit again and move it to the Trash by hand. Only the ones listed in.obsolete, never the current version. - For extensions you don't use at all, uninstall them from the Extensions view (or
code --uninstall-extension publisher.name). Don't delete their folder yourself, becauseextensions.jsonwould still list them. - Installer cache: it's only the downloaded .vsix files. Removing folders there frees space, and the editor downloads again if it needs one for a reinstall. We measured but didn't delete anything on our Mac, so check your own before relying on this.
What about workspaceStorage?
Each project you open gets a hashed folder with its saved editor state and chat history. On our Mac there were six, 24 KB to 220 KB each, 0.5 MB in total. Small. It grows with heavy chat or search history, so it's worth a look, but it wasn't where our gigabytes were.
To find folders for projects you deleted long ago, read the project path inside each one:
Two of our six folders had no <code>workspace.json</code> at all (24 KB and 48 KB), which is why they didn't show. On our Mac it printed two projects that no longer exist (92 KB and 84 KB). Anything it prints is a candidate: the project folder no longer exists, so the saved state can't be reused. Quit the editor first.
Leave these alone
~/.vscode/extensions/extensions.jsonand.obsolete(the editor's own bookkeeping).User/settings.json,keybindings.jsonandsnippets(your setup, tiny, and no cache).CachedDatafolders: each build's folder is rebuilt by the editor, but we saw 54 MB (Code) and 132 MB (Cursor, six build folders), so it's a small win.
Related: Developer disk hogs: Gradle, npm, node_modules and the caches that never go away and macOS System Data: what uses it, why it grows.
Zofle, our free Mac app, measures big folders like these and shows what each one is before you remove anything.
Download Zofle for MacSources
- Visual Studio Code docs: Extension Marketplace (install, uninstall, command line options).
- Our own read-only measurements on macOS 27.0.1, 13 November 2026 (
du,cat .obsolete). - Figures are from one Mac, so yours will differ. The AI-extension names are left out on purpose: the pattern is the same for any large extension that updates often.
Zofle Pro news
People signing up now will get Zofle Pro, with more features, for free when we launch it.