Skip to content

VS Code workspace state

Last updated 1 November 2026

What it is, where it lives on your Mac, and whether it’s safe to delete.

Check before deleting

Only if you're sure you don't need it. Can't be rebuilt: VS Code's state for one workspace you haven't opened in months, which can include extension data and AI chats. It goes to the Recycling Yard first.

Where it is

~/Library/Application Support/Code/User/workspaceStorage/*

A * stands for any name: there can be several of these.

Is it safe to delete?

Only if you're sure you don't need it. Can't be rebuilt: VS Code's state for one workspace you haven't opened in months, which can include extension data and AI chats. It goes to the Recycling Yard first.

This is your own data, not a cache: once it’s gone from the Trash, nothing brings it back.

How big is it?

In Terminal, this shows its size without changing anything:

du -sh "$HOME/Library/Application Support/Code/User/workspaceStorage"

How to remove it

  1. In Finder, choose Go > Go to Folder (Shift-Command-G), paste the path above and press Return.
  2. Leave anything opened or changed less than 90 days ago (for a folder, its newest file counts). DiskCity waits that long too.
  3. Look through what's there, and move only what you're sure you don't need to the Trash.
  4. Empty the Trash to get the space back. Until then, you can still put things back.

What DiskCity does with it

DiskCity never deletes it outright: if you approve, it waits 30 days in the Recycling Yard first. Even with Autopilot on, it never removes it without your yes. It only suggests it once it hasn't been used for 90 days.