Disable AI autocomplete if a snippet exists?

Is there a way to disable AI autocomplete if a snippet matches what I’m typing?

Here is an example:

I type “log” which I have a snippet for. You can see it in #2 as the first quick suggestion. But in #1 there is also an AI autocomplete suggestion. When I hit tab, it accepts #1 instead of #2. I want it to accept #2 in this case.

Yes, I can hit enter instead of tab but I can never seem to remember to do this and it breaks flow. In my muscle memory, tab completes my thought. When a snippet exists, I want to use that to complete my thought and not the AI suggestion.

Anyone know how to make it work this way in Cursor?

1 Like

Hi @lehresman

Other than using Enter, I don’t know any other options, or you could temporarily disable Cursor Tab.

1 Like