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:
- Create a new line and start typing a variable or statement (e.g.,
if (
orcu
forcurrentCoroutine
) - Let Cursor AI suggest a completion.
- Press
Tab
to accept the suggestion. - 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!