Page 1 of 1

FIXED: [11.20b2] Problem with fuzzy autocomplete

Posted: 12 Sep 2016 12:44
by pjj
Can the new "fuzzy" autocomplete be switched off? If so, how? Because it's not very helpful right now for me, I'm afraid :(

Say, I'm dealing with HTML and want to insert <span></span>. I need to write s-p-a-n to get a window with usable list -- three possible options to choose from, span being the third, so I can't just hit Enter, but before that I need to use arrow down twice (the other two options being some obscure jsp tags.) Now, try to insert <p> tag! :?

Re: [11.20b2] Problem with fuzzy autocomplete

Posted: 12 Sep 2016 18:38
by Rickard Johansson
I made the following change to the final version.

To activate fuzzy sorting press "F1" while the auto completion window is open.
You can press F1 repeatedly if you want to toggle between normal and fuzzy sort.
When fuzzy sorting is active the window background change to a green color.

Re: FIXED: [11.20b2] Problem with fuzzy autocomplete

Posted: 12 Sep 2016 19:37
by pjj
Thank you! So, non-fuzzy sorting will be default one, right?

Re: FIXED: [11.20b2] Problem with fuzzy autocomplete

Posted: 13 Sep 2016 10:21
by Rickard Johansson
Yes, "normal" sorting is used unless you press F1 while the completion window is open. Your choice is remembered throughout the session, but only for the current file.
It's not an option. It's a switch.

I considered having an option, but having it as an option per file type and as a switch at the same time complicates things. I think users will expect different behaviors and perhaps request other options to implement that behavior... (the editor already have way to many options)