Customizing valid SpeedSearch characters
I'm using SpeedSearch in a popup showing a list of URLs (50+).
Having '/' as a valid SpeedSearch filter would make selection easy - unfortunately
'/' is not accepted.
Is there a way to customize this?
Taras
Please sign in to leave a comment.
I don't think so. Looks like it only accepts characters and digits.
Why would you enter a "/"? AFAIK, the speedsearch checks if the typed text is a substring of any list element.
Sascha
Hello Sascha,
Imagine a list popup containing:
-
http://www.foo.org/bar/asd
http://www.foo.org/bar/sdf
http://www.foo.org/bar/dfg
...[30 more namespaces]...
http://www.foo.org/bar/o
-
There's no way to quickly select the "http://www.foo.org/bar/o" entry: I
can't filter by '/o'.
It's a pretty minor trivial limitation. However, for items that are not class
names it would make sense to customize the allowed SpeedSearch characters,
I think.
-tt
Hello Taras,
>> I don't think so. Looks like it only accepts characters and digits.
>>
>> Why would you enter a "/"? AFAIK, the speedsearch checks if the typed
>> text is a substring of any list element.
OK, that makes sense. Wasn't obvious to me late at night ;)
Yes, I'm also not sure why it's limited at all, especially because it doesn't seem to do any
regex-matching like the speedsearch e.g. in the File Structure (ctrl-f12) popup does. I'd try filing
a JIRA issue :)
Sascha
Hello Sascha,
http://www.jetbrains.net/jira/browse/IDEA-14500
-tt