dumb question: as cursor’s autocomplete gets faster, when i want to simply indent a line - i find myself racing against the clock to hit ‘tab’ before it can generate a suggestion .
is there a different way to just indent a line (the old school definition of ‘tab’)?
We added a fix for this in version 0.26! Now, if it looks like you want to indent when you hit Tab, that will take precedence over the Copilot++ suggestion.
Let me know if anything is behaving in an unexpected way, and thanks for the feedback here.
I use multi-line Tab for indentation quite a lot in my daily work. Recently, I’ve noticed that the indentation fails because Cursor thinks that I want to do autocompletion. Is there a way to fix this, such as binding autocomplete to a different key?
Tab is broken in cursor for me on Mac, paid version. Most of the time there are no visible suggestions, yet when I try and indent a line with tab, the line does not indent and the cursor jumps to the end of a line, a few lines down. I don’t want to disable autocomplete suggestions, I just want to be able to type. How about, as @richard suggested, a different key for accept?
I switched to using Cmd-[ and Cmd-] for multi-line indent and dedent. Probably Linux and Win have similar?
There is still something wrong with how cursor handles this though. If I make a change such that cursor suggests indenting the following block, the usual cursor indication of what it wants to do is not working correctly and all you see is things jumping around in a disconcerting way.
Tried to change the shortcut to accept suggestions, but it not work…
Cursor don’t indent correctly, the constant background color changes, text moving, indent changing while I’m working, the “stealing” of tab to accept suggestions… are very annoying
Cursor tab always defaulting to auto complete, vs indention of a line seems to still persist in Version: 2.0.34.
My work around is to move to using spaces instead of tabs, as it seems it’s the only way to ensure you don’t auto complete when you don’t want to. This feature’s behavior makes me want to disable tab completion for most of my projects which is unfortunate as it can be useful.
Is there not a way to switch the cursor key binding for tab auto-complete yet? I’d probably just use another key like cmd + somekey
BTW You can also snooze Tabs now in the IDE Tab | Cursor Docs if you just want to disable it temporarily for a project.