I am using Cursor to code on a remote server and have found it to be useful. The autocomplete and in-line edits work without issue but I when using the chat edit I cannot automatically apply the edits to my code, instead I have to copy and paste them as I do when using other LLMs.
Here is a screenshot of me trying to make a simple edit on code in order to easily adjust the range of data I fit the model to:
[Sorry, new users can only put one embedded media item in a post.]
It knows what code I am working with and writes the edit correctly. At this point I could copy/paste the edit but I want to apply the edits automatically.
When I hit ‘apply’ instead of applying the edits to the code that I’m working with it opens a new file with the same name:
This has the edits I want but it doesn’t include the rest of the code (there are still parts commented out like // … (keep FCM function as is) …).
I’d really like to be able to use this feature, it was the main reason I am trying Cursor over VS code.