For example, if there is a bug after “apply” that causes some code modifications to be incorrect, is there a way to restore the file status to before this “apply”?
1 Like
Hey, you can restore the file to its original state using the shortcut Ctrl + Z (or Cmd + Z on Mac) if the file hasn’t been closed yet.
Additionally, Cursor has version history support. You can click on “Timeline” in the bottom left corner to see all the changes made to the file and select the version you want to restore.
If you’re using Git, you can also revert changes using the appropriate commands.
1 Like
I think a short tutorial on such feature use would be beuno…
It would be great if in the UX/UI – when one hits apply - there are two immediate pill-links produced: old and new version links in the composer window… and a quick diff clickable behavior or something, if one wants to open it.