New IDE search bar behaviour

Curious if this is expected behaviour.

When searching for a component within the IDE (using the new search bar at the top of the screen), Retool does not seem to prioritise exact alphabetical matches.

As per the photo, typing the exact name of the form does not bring it to the top of the list. Rather in this case the target component is the second last item on the list.

It appears the algorithm is to find *userinput* then to sort the list and display it.

In contrast, other IDEs will bubble userinput (exact match) to the top, followed by userinput* followed by *userinput* followed by *userinput.

I'd be interested to know if anyone else has found this to be somewhat annoying.

image

Hi @stewart.anstey, thank you for flagging this behavior! :pray:


We added this as a FR to re-evaluate the way our "Command Palette" search prioritizes results, and we'll keep you posted with any updates from the Engineering Team.


Happy building! :hammer_and_pick:

1 Like