Sublime Forum

How do I fine tune or disable autocomplete?

#1

Not sure if it’s enabled by Zen-Coding, CodeIntel, or what, but every now and then ST will interrupt my typing to insert some value it assumes I want. For instance, if I’m editing css and type in:

#div {
    background:url(img/bg.jpg) no-

It will automatically finish off that word for me:

#div {
    background:url(img/bg.jpg) none-

Any suggestions?

0 Likes

#2

You can disable CodeIntel live autocomplete if you put this two line:

“codeintel_live” : false,
“codeintel_disabled_languages”: “css”]

to File settings - user. :wink:

0 Likes

#3

I think the real issue is that the autocomplete shouldn’t happen on a hyphen. This happened to me so much when typing objects in PHP that CodeIntel became an unusable plug-in. I was told by the plug-in’s creator that it’s an ST2 API issue https://github.com/Kronuz/SublimeCodeIntel/issues/5#issuecomment-2150998. It stinks because CodeIntel is very handy when trying to dig through classes.

0 Likes