Auto-completion inserts text into previous line when pressing Tab

I’m experiencing a recurring issue where accepting an auto-completion suggestion with the Tab key causes the generated code to be inserted into the previous line, instead of where my cursor is currently located.

Steps to reproduce:

  1. Create a new line and start typing a variable or statement (e.g., if ( or cu for currentCoroutine)
  2. Let Cursor AI suggest a completion.
  3. Press Tab to accept the suggestion.
  4. The suggestion appears to be inserted into the previous line, sometimes overwriting or breaking existing code.

Expected behavior:

The completion should be inserted exactly where the cursor is, on the current line.

Actual behavior:

The completion is inserted into the line above the cursor, even when the cursor is clearly on a new or empty line.

I’d love to see a fix for this, as it’s breaking the coding flow. Thanks!

Hey, thanks for the report. This will be fixed.