Sublime Forum

How to allow auto-complete only when 2 or more characters are entered

#1

I’d like to only have autocomplete pop up when 2 or more (possibly 3 or more) characters are entered, not when a single character is typed.

Can this be controlled?

0 Likes

What happened to my post?
#2

I’m not aware of any setting that controls at what point the autocomplete popup appears other than turning off it’s ability to appear automatically and instead triggering it manually when it’s desired.

If you’re trying to stop it from appearing until you’ve entered a few characters of text and not just trying to block it altogether when there’s only a couple of characters, you might be able to change the value of
auto_complete_delay to be a larger value so that it doesn’t trigger until you’ve had time to type more text, though.

0 Likes

#3

Thank you.

It’s not quite what I’m looking for, maybe I’ll propose this as a feature request at some point.

In meanwhile, some of the aggravation is removed by not having ‘return’ (or anything else one might type in the course of normal text, for that matter) act as ‘commit autocompletion’.

0 Likes