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


4 comments
Comment actions Permalink

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

0
Comment actions Permalink

Hello Sascha,

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.


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




0
Comment actions Permalink

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.


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'.


OK, that makes sense. Wasn't obvious to me late at night ;)

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.


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

0
Comment actions Permalink

Hello Sascha,

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 :)


http://www.jetbrains.net/jira/browse/IDEA-14500

-tt


0

Please sign in to leave a comment.