Hi,By the way, is it possible to have exact match now?At least, I expect to have expect match on the top of the result list.
A simple use case,
- open Spotter
- search number
- dive into implementors category
The exact matches are lost in the middle of hundreds of other selectors. This way, it is very difficult to find what you need.It is also why I always need to open a playground to be able to search all implementors of a selector. It is not do-able with spotter without an exact match.
That said, I have to add that I really enjoy spotter and other GT tools :)ChristopheLe 8 déc. 2015 à 01:56, Juraj Kubelka a écrit :7. 12. 2015 v 11:59, Peter Uhnak <[hidden email]>:On 12/07, Juraj Kubelka wrote:Hi,#<anything> is a category filter. Try #class, #instance, etc.Oh... right. I've been using this for long time, my brain just didn'tconnect the dots.In either case, once you dive in the category filter is no longerapplicable.So normally I would do "#i selector", then dive in, and then filter it.Then I have learnt that people are not aware of [...] any other kind of wild-characters.People don't know what wild-chars are? I would understand that someonemight be uncomfortable with regexps, because there are many variations, but wildchars…
Well, some people asks for regular expressions, some people asks for wild-characters, some people prefers other techniques.
In most cases people are satisfied with substring solution as it is right now. In some special cases people thinks about more advance solution.
I believe that we should sort results according to relevance, e.g., if I write open, then selectors called open should be first, then likely openOn:, openWithSpec:, openVeryLongExplanation:, etc.
Cheers,
JurajOn Dec 5, 2015, at 20:40, Peter Uhnak <[hidden email]> wrote:Hi,are there some wildcards in GTSpotter matching?Currently it searches anywhere in the (method) name, which makes it hardfor shorter names, because it will match a lot of junk.I've also discovered (by accident), that I can use '>>#selector' toanchor the start of the selection. ('#selector' for some reason doesn'twork).But I would like to also search by a simple ? (any character), * (anycharacters) wildcard. Is that possible?Additionally constraining it from the end would be also nice.For example I want to look through #default methods, however 90% of thematches will be junk, so I would like to write '#default$' and it willnot match '#defaultIcon', etc.Is this possible?Thanks,--Peter--Peter
Free forum by Nabble | Edit this page |