Tab model generates a lot of empty lines

Hey there,

I have been using Cursor for a little over a month now with no issues. But recently, in the last few days, it seems like the tab function is suggesting one empty line every time it suggests some changes. Not sure if this is due to the new tab model, or what it is, but it is quite annoying having to constantly clean up after using the tab function.

Any workarounds or fixes?

Thanks

8 Likes

Same thing is happening to me. It keeps adding emtpy lines? for no reason.

1 Like

Same thing here, I can say that it adds empty lines almost 100% of the time.

This is game breaking for a feature that was supposed to make coding, and specially refactoring, easier. I’m wasting more time worring about finding the empty lines and deleting them. It is so annoying that I even stopped working and came here looking for solutions to this problem.

1 Like

Are all of you on windows?

2 Likes

Yes, I am on Windows 10.

1 Like

Hey, can we get a request ID for this, as we’re pretty sure we can fix this immediately!

You can grab it with the following guide:

To grab a request ID for tab, you should go to:

Output (next to terminal), select “Cursor Tab”, there are a lot of logs you will see. Click the last uuid.

I provided this info in this other discussion post. This bug is driving me crazy haha

Prssing tab for autocomplete doesn’t appear in my “Report AI Action” dropdown

Same. Super buggy to the point of being unusable.

2 Likes

I can confirm that using LF line endings instead of Windows-style CRLF helps a lot, if not completely eliminates the issue. I just switched both my default setting as well as all existing files in the project to use LF line endings, and things are much better now.

Hey all, sorry about the bug–this should be fixed now. Let me know if thats not the case!

3 Likes

It is fixed for me! Thank you so much :grin:

1 Like

Fantastic, it also seems to be fixed for me. Thank you very much!

Sometime blank lines are still added while tab autocomplete. I am using cursor 0.46.11, in win10.