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

Improve fuzzy string matching by prioritizing uppercase letters #9963

Open
sszigeti opened this issue Jun 14, 2024 · 0 comments
Open

Improve fuzzy string matching by prioritizing uppercase letters #9963

sszigeti opened this issue Jun 14, 2024 · 0 comments

Comments

@sszigeti
Copy link

Describe the project you are working on

This is a generic proposal regarding the editor itself.

Describe the problem or limitation you are having in your project

I wanted to add an AnimationPlayer node to a scene.

I typed "animp" into the search field, but the "AnimatedSprite3D" node was selected instead of "AnimationPlayer." This isn't an incorrect behavior, but perhaps it's not what I'd have expected.

Describe the feature / enhancement and how it helps to overcome the problem or limitation

The fuzzy string matching algorithm could prioritize uppercase letters, as I think it's natural to type a couple of starting characters followed by the starting characters of the next word of a compund word like node names.

Describe how your proposal will work, with code, pseudo-code, mock-ups, and/or diagrams

No change to the UI, only the result would be different.

If this enhancement will not be used often, can it be worked around with a few lines of script?

This is just a quality of life improvement, which perhaps even could be put behind an editor setting.

Is there a reason why this should be core and not an add-on in the asset library?

This affects the string search functionality of the editor itself.

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