Sublime Forum

How to make autocomplete trigger with less characters?

#1

It seems when using text from the current file, autocomplete only shows the popup after it matches 4 characters:

Is there a way to reduce the number of characters?

0 Likes

#2

That behaviour is most likely caused by a plugin. Have you tried reverting to a freshly installed state?

0 Likes

#3

Thanks, it seems you are right.

I reverted to a fresh state and then added these options:

"auto_complete_delay": 0,
"auto_complete_selector": "text, meta.tag - punctuation.definition.tag.begin, source - comment - string.quoted.double.block - string.quoted.single.block - string.unquoted.heredoc",

It’s now working as expected.

I will try to figure out which plugin was causing this.

Edit:

Hmm I reinstalled exactly the same packages but now it’s working as expected.

0 Likes