Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Quick open scene should favor beginning of the name #51210

Open
KoBeWi opened this issue Aug 3, 2021 · 1 comment
Open

Quick open scene should favor beginning of the name #51210

KoBeWi opened this issue Aug 3, 2021 · 1 comment

Comments

@KoBeWi
Copy link
Member

KoBeWi commented Aug 3, 2021

Godot version

3.4 beta / 3c21fc5

System information

W10

Issue description

This has bothered me for a while and I have a concrete example that illustrates the problem:
image
I wanted to open the Workshop.tscn, which is 5th result on the list, even though I searched for it specifically. This is similar problem to #21726. The results should be sorted by relevance, i.e. better match near the beginning, instead of just alphabetically.

Steps to reproduce

  1. Have e.g. Workshop.tscn and IconWorkshop.tscn
  2. Try to quick open Workshop.tscn

Minimal reproduction project

No response

@KoBeWi
Copy link
Member Author

KoBeWi commented Aug 3, 2021

Seems like it's only relevant to 3.x. On master there is a nice _score_path() method, so we could just backport it.

@KoBeWi KoBeWi added this to the 3.4 milestone Aug 3, 2021
@akien-mga akien-mga modified the milestones: 3.4, 3.5 Nov 8, 2021
@KoBeWi KoBeWi modified the milestones: 3.5, 3.x Apr 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants