How to stop automatic application of changes to files

Today I opened an earlier chat session which I stopped in the middle some time ago. Then it automatically applies the changes of that chat to my current files. This is not intended and my current progresses are lost. I tried to click on the “restore checkpoint” button in my newest chat session, but it did not go back to the latest state of my files.

Fortunately I have pushed my codes to Github and can revert back. Can’t imagine how much progress I would have lost if I have not done that.

SUGGESTION: Cursor should show a pop up asking user if they intend to apply the latest changes from that particular chat session, if any.

3 Likes

I have the same problem: When I chat with the Agent option, it suggested the code in the Chat panel and also applied it in my work files - which I didn’t ask for. How to turn it off?

1 Like