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 251381 - go to file doesn't work anymore
Summary: go to file doesn't work anymore
Status: RESOLVED FIXED
Alias: None
Product: utilities
Classification: Unclassified
Component: Jump To (show other bugs)
Version: 8.1
Hardware: All All
: P1 normal (vote)
Assignee: Tomas Zezula
URL:
Keywords: REGRESSION
Depends on:
Blocks:
 
Reported: 2015-03-23 15:53 UTC by Vladimir Voskresensky
Modified: 2015-03-27 03:23 UTC (History)
1 user (show)

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 2015-03-23 15:53:28 UTC
in today's build Go To File doesn't work for file prefix.
I.e. trying to jump to 
cnd.modelimpl/src/org/netbeans/modules/cnd/modelimpl/csm/core/FileImpl.java

File
FileImpl
FileImpl.ja

it only works if I have full file name + space
FileImpl.java |

---------
FileName.ext:Line
can not be found as well
Comment 1 Vladimir Riha 2015-03-25 15:50:21 UTC
I'm having similar problem, I have several files named

ApplicationR[SOME OTHER LETTERS]

search for:
 - Application => OK
 - ApplicationR => fails to find the files
 - Applicationr => finds the files

Looks like the different cases of "R" and 'r' are being treated differently.


Product Version: NetBeans IDE Dev (Build 201503230001)
Java: 1.8.0_40; Java HotSpot(TM) Client VM 25.40-b25
Runtime: Java(TM) SE Runtime Environment 1.8.0_40-b25
System: Linux version 3.13.0-35-generic running on i386; UTF-8; en_US (nb)
Comment 2 Tomas Zezula 2015-03-26 08:57:32 UTC
Seems that NameMatcher has problem with case insensitive camel case.
Comment 3 Tomas Zezula 2015-03-26 09:29:07 UTC
Fixed jet-main 0b1cbd400d6d.

I've already fixed the NameMatcher to work fine with case insensitive CamelCase but I've forgot to fix the File Name indexer.
Fixed.

Thanks Vladimir for report.
Comment 4 Quality Engineering 2015-03-27 03:23:37 UTC
Integrated into 'main-silver', will be available in build *201503270001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/0b1cbd400d6d
User: Tomas Zezula <tzezula@netbeans.org>
Log: #251381:go to file doesn't work anymore