+22
Scheduled

Approximate String Matching

Lazlo Bonin (Lead Developer) 10 months ago • updated 4 months ago 18 6 duplicates

The fuzzy finder should use true approximate string matching instead of exact substring search. This could be integrated with the FuzzyString library:

https://fuzzystring.codeplex.com/

This would also mean that you could include the type/class name when searching for a field/property/method.

Duplicates 6

+3

Please fix the searching, it's awful and very tedious to scroll through tons of options constantly.


For example:

I want Transform.rotation

Nope.

"transform rotation" ? Nope

Oh... how convenient (and I'm lucky it's near the top) 

+1

Hi Remixful, welcome to the community!

With approximate string matching, "transform.rotation" would indeed find the result you're looking for.

Ordering results that have the same relevance after is almost impossible, however. For example, how can Bolt know that Transform.rotation is more important than Random.rotation?

I understand that, I'm just saying that searching "rotation" isn't specific enough, and you'd have to scroll through tons of options if it wasn't on the top.

You could collect usage statistics and build a profile of the most important functions used. You could then include that in the decision making process. Just an idea.

+1

Just emphasizing the importance of this feature here!

+1

I really am looking forward to this improvement, the current fuzzyfinder is less than optimal :)

This improvement will be very useful!

+2

It's called Approximate Strng Matching, which is why you might not have found a result. It is actually on the roadmap, set for 1.1.6. so only about 2 updates until we get that functionality. 

https://support.ludiq.io/forums/5-bolt/topics/392-roadmap/

Great, thanks for the reply!

Dumb question...Is there a way to retract/close an 'idea' or is that up to the admin?

+2

This is already on the roadmap actually. "Approximate String Matching". So you'll be able to type class.variable or method or search multiple words out of order and it'll find it. Whatever else that includes as well.

Great! I had a feeling this was a requested/known feature, yet due to not knowing what to call it exactly, couldn't find the feature request. Sorry for the dupe! 

We will forgive you this ONE time.

I would love to have this, as it is the reason I chose human naming over programming  (say you want MyClass.List or something.  With Human naming, I can type Get List and most likely get it right on.  With programming notation, I can't, and I get a bazillion results trying to search for List)

A quick note though, context search (what you term subsearch) is planned:
https://support.ludiq.io/forums/5-bolt/topics/717-fuzzy-finder-search-within-selected-category-only/#

Originally slated for 1.4, Lazlo is hoping to squeeze it into the 1.2.X line.

Thanks for the reply!

I agree. It would be cool, if I search for screen, and click on it, I could type new and it would only search within screen and not start a new search.


+1

Plus, i'd love to be able to search using the "."

Stuff like "GetY" on vector are translated to "y" on the programing style, but I can't find it using "vector2.y" or stuff like that.