This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 246543 - REGRESSION: go to symbol doesn't work with some search text
Summary: REGRESSION: go to symbol doesn't work with some search text
Status: RESOLVED INVALID
Alias: None
Product: utilities
Classification: Unclassified
Component: Jump To (show other bugs)
Version: 8.1
Hardware: All All
: P2 normal (vote)
Assignee: Tomas Zezula
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-08-19 10:00 UTC by Vladimir Voskresensky
Modified: 2014-08-20 11:29 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vladimir Voskresensky 2014-08-19 10:00:54 UTC
Recent reression (two weeks?):
The function with the name getArgumentNum

can not be found anymore when I type incomplete Argument word, i.e. 
"getArNu"
"getArgNu"
"getArgumNu"
"getArgumeNu"
Comment 1 Tomas Zezula 2014-08-19 13:39:05 UTC
No regression, the same behaviour as in NB 8.0 and older.
The camel case in NB is defined as:

 "(?:\\p{javaUpperCase}(?:\\p{javaLowerCase}|\\p{Digit}|\\.|\\$)*){2,}"

So the right CamelCase is:
GetArNu
GetArgNu
GetArgumNu
GetArgumeNu

the getArgumeNu is handled as prefix.

If you also think that it's restrictive and should be changed please vote for issue #244122. I've attached there 2 patches, one just allowing the camel case to start with lower case and second using fuzzy search rather than camel case (but it's very broad).
So I am going to even more relax the camel case (delimiters not just upper cases but also special cases like '_','-', ...).
Comment 2 Vladimir Voskresensky 2014-08-20 11:29:50 UTC
Thanks, Tomas.
I've got the impression, that I had on Laptop version of IDE which was doing getArNu just fine.
Unfortunately I don't have this bits anymore.
Sorry for the noise.