getcursor / cursor

The AI Code Editor
https://cursor.com
24.82k stars 1.55k forks source link

Applying code changes from side panel is very slow. #1817

Open kaardilugeja opened 1 month ago

kaardilugeja commented 1 month ago

When I select a portion of the code and ask a question about it, such as checking if all the brackets are present, the code generation in the side panel is quick. However, when I click the button to apply these changes to the current file, the process becomes extremely slow. For some reason, Cursor starts at the beginning of the file and processes it line by line, even though no changes are needed elsewhere in the file, only in the selected part. Why can't Cursor jump directly to the selected section and apply the suggested changes, instead of processing the entire file line by line?

faheemstepsharp commented 1 month ago

+1 agree