# Disable AI autocomplete if a snippet exists?

**URL:** <https://forum.cursor.com/t/disable-ai-autocomplete-if-a-snippet-exists/21972>\
**Category:** Feature Requests\
**Created:** [October 9, 2024, 3:47pm UTC](https://forum.cursor.com/t/disable-ai-autocomplete-if-a-snippet-exists/21972 "2024-10-09T15:47:17Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![lehresman](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/lehresman/32/7874_2.png) [@lehresman](https://forum.cursor.com/u/lehresman)\
**Post date:** [October 9, 2024, 3:47pm UTC](https://forum.cursor.com/t/disable-ai-autocomplete-if-a-snippet-exists/21972/1 "2024-10-09T15:47:17Z")

</div>

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

Here is an example:

 ![image](https://us1.discourse-cdn.com/cursor1/original/2X/f/f7eaa76ee3f1cd3bca266b89da57cf2472374c0a.png)

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?

---

<div class="post-metadata">

**Author:** ![deanrie](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/deanrie/32/1263_2.png) [@deanrie](https://forum.cursor.com/u/deanrie)\
**Post date:** [October 10, 2024, 7:51am UTC](https://forum.cursor.com/t/disable-ai-autocomplete-if-a-snippet-exists/21972/2 "2024-10-10T07:51:43Z")

</div>

Hi @lehresman

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

---

<div class="post-metadata">

**Author:** ![zank](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/zank/32/9397_2.png) [@zank](https://forum.cursor.com/u/zank)\
**Post date:** [December 25, 2024, 8:27am UTC](https://forum.cursor.com/t/disable-ai-autocomplete-if-a-snippet-exists/21972/3 "2024-12-25T08:27:11Z")

</div>

Same problem

---

<div class="post-metadata">

**Author:** ![wavinginspace](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/wavinginspace/32/60926_2.png) [@wavinginspace](https://forum.cursor.com/u/wavinginspace)\
**Post date:** [June 4, 2025, 4:36pm UTC](https://forum.cursor.com/t/disable-ai-autocomplete-if-a-snippet-exists/21972/4 "2025-06-04T16:36:58Z")

</div>

Would love a solution for this..

---

<div class="post-metadata">

**Author:** ![JeremyTM](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/jeremytm/32/70895_2.png) [@JeremyTM](https://forum.cursor.com/u/JeremyTM)\
**Post date:** [July 15, 2025, 10:18pm UTC](https://forum.cursor.com/t/disable-ai-autocomplete-if-a-snippet-exists/21972/5 "2025-07-15T22:18:47Z")

</div>

Surprised this is still an issue.
