Tab complete suddenly very agressive

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

I use the tab complete option alot, but lately it’s been very agressive in deleting code that is perfectly valid.
I will tab complete to add a block of code, then it immediately wants to delete the code.
I will scroll down the file and it will just randomly highlight perfectly valid code or even critical code and suggest to delete it. No justification or anything.

I want to keep the tab option, but at this rate I;m turning it off more and more to keep it from destroying my code.

Is there some way to tune it so it is less agressive? Or options to prevent random deletions of code outside of an add?

Steps to Reproduce

Hit tab complete to complete a chunk of code and more likely than not, the code that was just added will be suggested to be deleted.

Expected Behavior

Don’t randomly suggest to delete code.

Operating System

Windows 10/11

Current Cursor Version (Menu → About Cursor → Copy)

Version: 1.7.54 (user setup)
VSCode Version: 1.99.3
Commit: 5c17eb2968a37f66bc6662f48d6356a100b67be0
Date: 2025-10-21T19:07:38.476Z
Electron: 34.5.8
Chromium: 132.0.6834.210
Node.js: 20.19.1
V8: 13.2.152.41-electron.0
OS: Windows_NT x64 10.0.26100

For AI issues: which model did you use?

claude-sonnet-4

Does this stop you from using Cursor

No - Cursor works, but with this issue

5 Likes

Hey, thanks for the report. Lately, we’ve been seeing similar feedback about overly aggressive Tab autocompletion.

Unfortunately, there aren’t any settings right now to finely tune the “aggressiveness” of Tab suggestions. Current options:

  • Set a shortcut to toggle Tab, so you can temporarily disable it or turn it off for specific file types
  • Temporarily turn it off when you’re working in critical sections

To help the investigation, please share:

  • Which file types this happens in most often
  • Any noticeable pattern (for example, more often after certain actions)

This will help the team determine whether there’s a regression in recent versions.

1 Like

I’m coding in Python and C (.py, .c)

There are 2 main problems that if they were fixed would make tab usable again:

  1. If I hit escape to dismiss the Tab suggestion, don’t popup another suggestion. I dismissed it so I can get the TAB key control back. Hitting ESC should leave tab completion OFF untill the cursor moves or I hit enter.
    Often times I hit ESC multiple times before it clears. Very often in keeps suggesting different completions until the final one is to delete everything (WTF!!!)

  2. The index for TC needs to update itself much more often. Many times i delete or change some code or viarbale, but TC keep suggesting to either

  • put it back in (even though I explicitly deleted the code)
  • Use it in the following lines even thought the variable no longer exists

All of this makes the TC feature so frustrating I leave it off most of the time.

1 Like

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

Using cursor 2.0 on a python repository.

About every 5-10 inline suggestions I accept (), the next suggestion is to delete an entire block of healthy code in the lines that follow. This makes fast acceptance of suggestions extremely dangerous and the IDE as a whole barely trustworthy to use.

It has been happening consistently for the past week.

I checked, this is not dead code due to indentation issues or otherwise.

Steps to Reproduce

Just using cursor triggers it constantly, even when editing a comment, it decides the next action should be deleteting 20 lines of code.

Operating System

MacOS

Current Cursor Version (Menu → About Cursor → Copy)

Version: 2.0.69
VSCode Version: 1.99.3
Commit: 63fcac100bd5d5749f2a98aa47d65f6eca61db30
Date: 2025-11-07T18:21:29.650Z
Electron: 37.7.0
Chromium: 138.0.7204.251
Node.js: 22.20.0
V8: 13.8.258.32-electron.0
OS: Darwin arm64 24.6.0

Does this stop you from using Cursor

Sometimes - I can sometimes use Cursor

Are there any updates from Cursor on this? This is becoming a serious issue for product usability. @deanrie

1 Like

Second that, it’s getting worse instead of better.

I keep getting suggestions which proceed to change a line I was working on, but also suggest to delete the (small) unrelated method below the method I’m editing, and the method definition and half of the docstring (python) of the method below that one. Apart from being absolute nonsense, cutting away half a docstring leads to an unterminated “““, which invalidates the whole file.

1 Like

This is getting in my way more and more, especially now that I’m getting hesitant to use TAB completion at all. I sometimes miss accidentally deleted healthy code, leading to errors. I got used to hitting TAB a lot (the Tab completion - apart from suggesting to delete code - is actually incredibly useful) but now this habit is turning against me with these latest changes in the model. Hope it gets fixed soon!

Also experiencing this a lot more lately.

Out of nowhere Cursor Tab will suddenly try to delete a huge chunk of unrelated code (relative to the previous few tab completions), often combined with a bit of actually useful code. Mostly seeing it in TS files as that’s what I work with the most, and the lines it tries to delete are almost always whatever happens to be in the next handful of lines.

Here’s a really simple example, trying to add a single entry to an index file and it’s suggesting to rename a mistyped export, but also delete all subsequent entries:

1 Like

Same issues. I work in C# and javascript.
Sometimes I just wan to correct some indentations, and got some random pieces of code deleted.
Another usual issue is when modifying code at the beginning of the file, it randomly adds imports, or namespaces. Its harder to detect those as most of the time nothing breaks.

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