# Cursor not editing file anymore, but creating new file

**URL:** <https://forum.cursor.com/t/cursor-not-editing-file-anymore-but-creating-new-file/67826>\
**Category:** Bug Reports\
**Created:** [March 21, 2025, 9:17am UTC](https://forum.cursor.com/t/cursor-not-editing-file-anymore-but-creating-new-file/67826 "2025-03-21T09:17:59Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![woutert](https://avatars.discourse-cdn.com/v4/letter/w/cdc98d/32.png) [@woutert](https://forum.cursor.com/u/woutert)\
**Post date:** [March 21, 2025, 9:17am UTC](https://forum.cursor.com/t/cursor-not-editing-file-anymore-but-creating-new-file/67826/1 "2025-03-21T09:17:59Z")

</div>

Cursor is not applying possible edits in my files and waiting for my accept / reject, instead it creates a new file with the change.

I noticed that it creates files in a folder that does not contain my project name. I add my file to the context, located at /Helper files/filename.code. Claude 3.5 seems to be reading the file just fine, as it gets the right context, but then the changes it makes are in a new file (called exactly the same as my file) which is placed in another location:

Helper files/filename.code

It seems it forgets to add the project name to the location. Oddly enough, it adds indentation that would make it fit in the original file.

Cursor version: 0.47.8  
Mode: Agent  
Model: Claude 3.5  
Subscription: Pro, still have fast requests available, but unfortunately I’ve wasted a few now with this.

---

<div class="post-metadata">

**Author:** ![woutert](https://avatars.discourse-cdn.com/v4/letter/w/cdc98d/32.png) [@woutert](https://forum.cursor.com/u/woutert)\
**Post date:** [March 21, 2025, 10:30am UTC](https://forum.cursor.com/t/cursor-not-editing-file-anymore-but-creating-new-file/67826/2 "2025-03-21T10:30:36Z")

</div>

Adding context: it does not seem to do this consistently, now I’m changing another part (and I added a few lines as more specific context), and Cursor is now applying suggested edits directly in the file again…

---

<div class="post-metadata">

**Author:** ![system](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/system/32/127254_2.png) [@system](https://forum.cursor.com/u/system)\
**Post date:** [April 20, 2025, 10:31am UTC](https://forum.cursor.com/t/cursor-not-editing-file-anymore-but-creating-new-file/67826/3 "2025-04-20T10:31:02Z")

</div>

Closed on April 20, 2025, 10:31am UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
