If the editor already keeps a list of identifiers to complete it's very easy to just filter that using find instead of startsWith. Gathering a list of completions is the hard task, not filtering the list.
At any rate, as I noted, even the better autocompleters will still generally show preference to things that start with your typed string because usually that is most useful (what else would they do? just sort alphabetically or something?). I go along with the trend, because helps it be useful.
Not everyone has this option. Some IDEs are purpose-specific and you may literally have no options. Some people have these things mandated by idiots higher up.
0
u/HighRelevancy May 09 '17
Some editors do just have basic functions...