Go to symbol: Inconsistent logic when using wildcard prefix/suffix.
[5.1.1700]
I have the following 3 classes:
{code lang=java}
private class Foo {}
private class FooBar{}
private class BarFoo {}
{code}
Case 1: No wildcard - Showing with Foo as substring (as expected):
Case 2: Wildcard suffix - Showing Foo as prefix, but not "Foo" itself (expected also Foo to show here)
Case 3: Wildcard prefix - Showing same as Case1 (expected only symbols ending with Foo, i.e. Foo and BarFoo):
Bug or by design?
If by design, shouldn't case 3 only show "BarFoo" if matching the logic used in Case 2? (if wildcard means 1-n chars and not 0-n).
Thanks
Please sign in to leave a comment.
Hrm I think this is the same as issue http://youtrack.jetbrains.net/issue/RSRP-170513 (status Submitted).
Hello,
On this one—
Adding a space at the end of the search string prevents the implicit trailing
".*" (there're some exceptions in case of camel humps matching though).
—
Serge Baltic
JetBrains, Inc — http://www.jetbrains.com
“Develop with pleasure!”