Accept changes without full scan of the file being edited

Is there a way to “cancel” the sort of “file scan” that is happening during an edit when you know that the correct edits have already been made?

This happens a lot on longer files where the edit to be made is at the top, but then Cursor keeps scanning to the bottom of the file when I (as a user) am now confident that the edit is correct?

Steps to replicate:

  • Create a large file (e.g. JSON data)
  • Request to update a property that is at the top of the JSON
  • Start cursor edits on the file

Expected result:

  • I can click “complete update” or something to “complete” the update

Actual result:

  • I have to sit there and watch it scan the full file

P.S Cursor is literally game-changing, keep up the incredible work.

(Lou from Gitpod)

1 Like

I’m pretty sure you can click cancel on the unfinished review, and it will keep the changes it’s already made at the top of the file, which you can manually accept.

Hey, we do have some intelligence that attempts to do what you suggest (ending an apply without it hitting every line of the file when we know the change has been written), but we are hoping to improve this in future updates!