At random times I will be using Cursor and I will see a code complete suggestion, I will hit the tab key to accept it but instead of it being accepted an actual tab will be inserted.
It will randomly happen, I have no idea what causes it, sometimes I have to restart cursor to get it to start working again, sometimes closing the file/reopening it works.
I’ve completely uninstalled Cursor (deleted profiles and everything from AppData) and reinstalled it, disabled essentially all plugins, and it still happens randomly. I also made sure not to import settings from VSCode.
Steps to Reproduce
Unknown, but it keeps happening randomly.
Expected Behavior
When i hit tab it should accept the suggestion, not insert a tab.
Hey,
I just had the same issue, I tried option 1 which resolved it for me, however suspecting it didn’t actually have to do anything with that I set it back to HTTP/2 and it still worked, even after reloading Cursor it still worked.
So I suspect that most “fixes” that involve Reloading the Window may just resolve the consequences of resulted to the TAB Functionality to hang and not actually preventing them in the first place (but I may be wrong obviously)
So my “easiest” fix was Pressing Ctrl + Shift + P for Command pallet and then choosing Developer: Reload Window - but its probably just a bandaid instant helper rather than preventing the cause
I don’t understand how disabling HTTP/2 or doing a network check would help this issue. The issue isn’t with tab complete not showing up, it’s about it not being accepted. I see the suggestion just fine and I can see in the output window it’s communicating with the server and with the model. When i click tab to accept the suggestion that just a tab is inserted? Am i misunderstanding and there is some sort of network call involved in accepting the suggestion?
Both of the posts you linked me to are of a different problem. Not the problem I am having.
I tried method 2 and it doesn’t consistently solve the issue.
Thanks for the clarification. You’re right, my earlier suggestions weren’t aimed at your case. HTTP/2 and network issues matter when suggestions don’t show up at all, but you can see them, Tab just doesn’t work.
This looks like a keybinding conflict. Some extension is likely catching Tab before Cursor can handle it. I’ve seen similar issues with Vim and Emacs extensions.
Can you check what actually triggers when you press Tab:
Check the Output panel (View → Output) to see what got logged
Paste the lines like [KeybindingService]: From X keybinding entries, matched... here. That will show which command runs instead of editor.action.acceptCursorTabSuggestion.
If you want a workaround right now, add this to keybindings.json (Ctrl + Shift + P → Preferences: Open Keyboard Shortcuts (JSON)):
Thanks for the log, I can see the issue. Tab is matching the default tab command instead of editor.action.acceptCursorTabSuggestion. This is a known keybinding issue.
Try this workaround, add this to keybindings.json: