Skip to content

shreejai/Cursor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

3 Commits
Β 
Β 

Repository files navigation

Cursor

🧹 How to Fix Frozen Cursor Projects (Clear Chat History Only)

If a project in Cursor freezes due to long assistant chats or overloaded memory, you can safely reset its workspace data without affecting your code.

This guide helps you:

  1. πŸ” Locate the Cursor workspace folder tied to your project
  2. 🧼 Delete just that folder to remove chat history and context
  3. βœ… Reopen the project cleanly in Cursor

πŸ“ Step 1: Open the workspaceStorage Folder

cd ~/Library/Application\ Support/cursor/User/workspaceStorage/

πŸ” Step 2: Search for Your Project Folder Name

Replace your-folder-name with the actual folder name of your project (e.g. c1a1, sales-tool-server, etc.)

grep -r "your-folder-name" ~/Library/Application\ Support/cursor/User/workspaceStorage/*/workspace.json

βœ… This will return a path like:

/Users/your-name/Library/Application Support/cursor/User/workspaceStorage/<workspace-id>/workspace.json:  "folder": "file:///Users/your-name/repos/your-folder-name"

Copy the "workspace-id" from that result.

πŸ—‘οΈ Step 3: Delete the Workspace Folder

This deletes only the Cursor session data for that project. Your actual code is untouched.

rm -rf ~/Library/Application\ Support/cursor/User/workspaceStorage/<workspace-id>

πŸ” Step 4: Reopen Cursor

open -a Cursor

Then manually open your project folder again.

It will now load as a clean session β€” no AI chat history, no freeze.

🧠 Optional: Disable AI Sidebar Auto-Restore

To avoid future freezes:

Go to Cursor Settings > Cursor Assistant

Turn off:

  • "Auto context injection"

  • "Restore previous chat"

About

Cursor IDE tips: fixes for freezes, chat overload, and workflows to keep your dev environment smooth.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors