Cursor redundent code and deletion issue

Describe the Bug

when you ask cursor to fix specific issue first it shows the solution then it ask to edit the file. If we tell it to update file it always create redundent code instead of updating existing. Suppose you tell cursor to delete redundent code it never actually delete the code. It just make comments before redundent code and says us that redundent code is deleted. Makes code very complex and it gets more difficult to understand what is the actual work flow. If you provide instructions to cursor to 1. Update existing code. 2. Do not create redundent code 3. Create new code if it is trully necessary. Instead of this cursor always creates redundent code. Before this I was using free version of AmazonQ and Blackbox AI they are working as expected but this AI never works as expected

Steps to Reproduce

Redundent code issue:

  1. ask cursor in chat to fix specific issue
  2. cursor shows solution in chat and then ask us to edit file.
  3. if we say to edit file it always creates redundent code instead of editing existing code even if we have provided clear instructions before editing the file.
  4. In chat it says updated existing code without creating redundent code but cursor creates redundent codes.

Deletion issue:

  1. ask cursor in chat to delete redundent code weather it is functions, listeners, handelers or any specific variables.
  2. cursor checks the code
  3. instead of deleting the redundent code cursor adds only comments before redundent code.
  4. in chat cursor says redundent code is deleted.

Expected Behavior

I want cursor should not create redundent code it should always update existing code. Create new code if it is trully necessary. and when we ask cursor to delete any specific code it should delete the code instead of commenting before that specific code.

Operating System

Windows 10/11

Current Cursor Version (Menu → About Cursor → Copy)

Version: 1.3.4 (user setup)
VSCode Version: 1.99.3
Commit: bfb7c44bcb74430be0a6dd5edf885489879f2a20
Date: 2025-07-29T03:59:10.762Z
Electron: 34.5.1
Chromium: 132.0.6834.210
Node.js: 20.19.0
V8: 13.2.152.41-electron.0
OS: Windows_NT x64 10.0.19045

Does this stop you from using Cursor

No - Cursor works, but with this issue

Hey, thanks for the report. Could you specify which model you are using?

1 Like

Version: 1.3.4 (user setup)
VSCode Version: 1.99.3
Commit: bfb7c44bcb74430be0a6dd5edf885489879f2a20
Date: 2025-07-29T03:59:10.762Z
Electron: 34.5.1
Chromium: 132.0.6834.210
Node.js: 20.19.0
V8: 13.2.152.41-electron.0
OS: Windows_NT x64 10.0.19045

You mentioned the Cursor version, but I asked you to let me know which model you are using. Also, the latest version is currently 1.3.9. Please try updating as well, it might solve your problem.

currently i have anabled

  1. claude-4-sonnet
  2. claude-3.5-sonnet
  3. o3
  4. gemini-2.5-pro
  5. gemini-2.5-flash
  6. gpt-4.1
1 Like

Thank you for the additional info. Also, could you share the request ID? First, you’ll need to disable privacy mode.

6e207e6f-85ba-4a91-93a8-f6349074285e this is the request id

1 Like

This topic was automatically closed 22 days after the last reply. New replies are no longer allowed.