Composer deletes new files after applying and accepting

When resetting Composer, all the new files it created get deleted even after applying the changes and accepting.

And disabling reset on close is not a good solution because when u want to have a new context for the composer, you need to reset. However, with this bug, all new files will get deleted. What you can do is close Cursor entirely after applying the changes to the composer, then the files will not get deleted.

image

2 Likes

Same Bug here. It is really annoying and makes composer pretty useless for creating new files. Even saving the files manually did not help. The files disappear no matter what I tried. Lost a couple of work until I figured out what happened.

Update: It only seem to happen here when composer creates a new folder with new file(s) in it.