Developer forums (C::B DEVELOPMENT STRICTLY!) > CodeCompletion redesign
Code completion with partial matching
dmoore:
--- Quote from: Alpha on April 23, 2014, 09:17:44 pm ---What about, for example: clanccgcext -> clang_codeCompleteGetContexts() (from libClang)? Imperfect matches allow typing a longer name by (mentally) skipping through, typing only the parts where it differentiates from the other items listed.
I find my typing habit often is: type a prefix (to bring up autocomp), enter acronym for the remaining parts, (if choice is still "far") enter suffix.
--- End quote ---
I guess I can see that, but how about making the inexact matches lowest priority. So an ordering like
exact match (ordered by position of first matching char, then alphabetical)
exact abbreviation match (ordered by position of first matching char, then alphabetical)
inexact matches (ordered by position of first matching char, then alphabetical)
--- Quote ---(I still am trying to get used to this; it is a completely different way of thinking.)
--- End quote ---
Agree and me too.
Navigation
[0] Message Index
[*] Previous page
Go to full version