Closed samsonjs closed 8 years ago
Sounds like a great idea, thanks ;) actually as it is now, you don't have to do SDWebImage... You can just do ImageManager, and it would probably be the quickest way to get it.
Right after posting I realized that I didn't actually check whether it had to be a prefix. Thanks for the suggestion, it probably does the job 90% of the time :+1: :)
No probs, will implement the fuzzy matching anyways since it would be a great feature. Cheers!
Maybe fuzzy matching is a great feature, such as me with a lot of long name classes, with this feature I can just input few words to match the proper class, highly effective.
@ForrestAlfred I started work on that a long time ago and never got around to finalize it. Will go back to take a look at the state of it and maybe finish it off quick.
Current [WIP], should be quick.
https://github.com/ClementPadovani/Peckham/tree/feature/fuzzySearch
Actually @markohlebar if you could have a look that’d be cool
@ClementPadovani this is cool! I think we can just ship it as a first version of fuzzy matching support. It would be awesome to add the highlighting as well. Also maybe a result that matches capitalization i.e. when I type SAO
in search for MHSearchArrayOperation
would be weighted as more relevant?
@markohlebar Yes, that’d be cool. However isn’t a little soon to ship?
There’s currently a test that’s failing due to the fuzzy-searching and the search results don’t render correctly.
@ClementPadovani shipped it already, if you use it as you usually would, there is no noticable difference. I'm currently working on rendering and highlights, hopefully will be done today 👍 also, I fixed that test.
@samsonjs @ClementPadovani I'm pretty happy with the results, check it out.
Perfect
Really impressed! Thanks!
It would be great to be able to import, say, SDWebImageManager.h by typing "sdwim" rather than "SDWebImageM".