Author Topic: Autocompletion is behind  (Read 680 times)

jporkkahtc

  • Senior Community Member
  • Posts: 2620
  • Hero Points: 210
  • Text
Autocompletion is behind
« on: September 24, 2021, 07:08:46 PM »
In C#, when I type "private Thing mythings = nu"
Autocomplete pops up.
It shows 4 "n" prefix matches, including "names" and "null".

Actually, if I pause after typing n to allow autocomplete to popup, then type u, it shows lots of symbols with 'u'.

#1: So I assume this has something to do with allowing misspellings?
#2: Exact prefix matches probably should be listed first, so the first thing in the match list for "nu" should be "null", not "name".
#3: If I type "nu", and allow the autocomplete popup to appear, I get 4 symbols in the list. If I type "n" <pause> "u", then I get a whole ton of symbols.
Why the difference here?

Dennis

  • Senior Community Member
  • Posts: 3989
  • Hero Points: 519
Re: Autocompletion is behind
« Reply #1 on: October 05, 2021, 02:36:43 PM »
#1) yes

#2) then the list would not be sorted.  Another user had reported the same issue with the same suggestion, which does not seem to be a good solution to me, hard to implement and potentially confusing results.

#3) this probably relates to auto-complete timeouts or case-sensitivity, depends on your options.