RED icon indicating copy to clipboard operation
RED copied to clipboard

Variable name completion sorts in unexpected order

Open JessefSpecialisterren opened this issue 5 years ago • 1 comments
trafficstars

When I type the first two characters of a variable name and press Ctrl + Space, the list of possible completions is sorted without giving priority to variable names actually starting with those two characters. For example:

image

I would expect the completions to be sorted like this instead:

  • ${EMPTY}
  • ${AN_EMPTY_VARIABLE}
  • ${BAR_BAZ_EMPTY}
  • ${TEMPDIR}

The consequence of this is that in projects with many variables I sometimes have to type almost the entire variable name to even see the desired completion, making me resort to copying and pasting instead 😅. Note that keyword completion does prioritize keywords starting with the characters already typed.

I'm on RED 0.9.5 on Windows 10. Also, I'd like to use this opportunity to thank you for making such an awesome Robot Framework IDE, for letting us use it for free and for reading and responding to bug reports. Much, much appreciated!

JessefSpecialisterren avatar Sep 03 '20 07:09 JessefSpecialisterren

Hi,

seems like an easy fix.

And thanks for your kind words it's great to be appreciated! :)

michalanglart avatar Sep 08 '20 06:09 michalanglart