Sublime Forum

How to reduce the noise with auto-complete?

#1

I have three variables defined:

ENUM_AIR
ENUM_FIRE
ENUM_EARTH
ENUM_WATER
ENUM_NONE

I type the following and hit control-space to activate auto-complete:

ENUM_E

I expect this to automatically complete ENUM_EARTH as this is the only option available which begins with the rest of the word on the left.

Is there a way to disable the additional noise? I see the following instead:

ENUM_EARTH
ENUM_NONE
ENUM_FIRE
ENUM_WATER

The reason it provides this list is because the last letter is the letter “e” and all of the above has that letter in it. I don’t want this kind of matching; I just want simple matching that completes based on what’s to the left of the cursor.

I understand that I can hit tab or enter to complete the closest matching option but I always stop when I see the list because I’m not expecting one and my knee-jerk reaction was that I mistyped something.

Is it possible to remove this noise and get the simpler functionality that I want?

0 Likes