# To change code folders in workspaces correctly \[edit --\> add folder\]?

**URL:** <https://forum.cursor.com/t/to-change-code-folders-in-workspaces-correctly-edit-add-folder/172140>\
**Category:** Help\
**Tags:** chat\
**Created:** [September 18, 2026, 11:37am UTC](https://forum.cursor.com/t/to-change-code-folders-in-workspaces-correctly-edit-add-folder/172140 "2026-09-18T11:37:19Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Aun\_Ai](https://avatars.discourse-cdn.com/v4/letter/a/eada6e/32.png) [@Aun\_Ai](https://forum.cursor.com/u/Aun_Ai)\
**Post date:** [September 18, 2026, 11:37am UTC](https://forum.cursor.com/t/to-change-code-folders-in-workspaces-correctly-edit-add-folder/172140/1 "2026-09-18T11:37:19Z")

</div>

for other reasons, i had to fix my storage and folder paths on disk. now i have broken workspaces all around in cursor. edit workspace doesnt work. adding new paths in workspace, it creates another worksapce on side panel without any agent… so will have to create a new agent and might lose the previous conversation history. [guess it will stay there in panel or i might archive it]  
_\*\*sad state of afffairs for cursor agents. 🥲 \*\*_

---

<div class="post-metadata">

**Author:** ![mohitjain](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/mohitjain/32/100229_2.png) [@mohitjain](https://forum.cursor.com/u/mohitjain)\
**Post date:** [September 22, 2026, 7:06am UTC](https://forum.cursor.com/t/to-change-code-folders-in-workspaces-correctly-edit-add-folder/172140/7 "2026-09-22T07:06:11Z")

</div>

Hey @Aun_Ai! Nothing’s seems to be deleted. Your chats are tied to the folder path they were created in, so when a folder moves on disk they stay on the old sidebar entry. You can pull any of them back up anytime via Search Agents at the top of the panel.

For new work in the moved folder, just open it, start a chat, and bring your earlier context in with `@Chats`. To carry on an existing chat, right-click it and choose Move to (or ask the agent to move to the new path). If that throws an error, ask it for a quick handoff summary and paste that into a fresh chat.

The Edit Workspace part (adding a folder spinning up a separate empty entry) isn’t intended behavior, and it’s something we’re tracking. If you can share your OS and whether Save is greyed out or throwing an error, I’ll dig in further.
