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 178211 - Goto Type ignores case sensitive flag
Summary: Goto Type ignores case sensitive flag
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Navigation (show other bugs)
Version: 6.x
Hardware: PC Windows Vista
: P2 normal (vote)
Assignee: Tomas Zezula
URL:
Keywords:
: 183432 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-12-07 00:32 UTC by onmomo
Modified: 2012-10-30 13:59 UTC (History)
2 users (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 onmomo 2009-12-07 00:32:06 UTC
I'm searching for a Class contained in a maven project by using the goto type dialog.

class name: SparkStmtCtrlAbs
The Case Sensitive checkbox was disabled, i typed: SPARKSTMTCTRLABS 
Result: <No Types Found>

class name: SparkStmtCtrlAbs
The Case Sensitive checkbox was enabled, i typed: SPARKSTMTCTRLABS 
Result: <No Types Found>

classe named: SparkStmtCtrlAbs
The Case Sensitive checkbox was disabled, i typed: SparkStmtCtrlAbs 
Result: SparkStmtCtrlAbs --> found

classe named: SparkStmtCtrlAbs
The Case Sensitive checkbox was enabled, i typed: SparkStmtCtrlAbs 
Result: SparkStmtCtrlAbs --> found

class name: SparkStmtCtrlAbs
The Case Sensitive checkbox was disabled, i typed: SParkStmtCtrlAbs 
Result: <No Types Found>

It looks like the case sensitive flag is ignored.

Tested with 6.8_rc2
Comment 1 Nikita Krjukov 2009-12-18 07:54:42 UTC
I have the same problem. It would be better to have the search case insensitive by default, but it's sensitive regardless of the check-box state. It's inconvenient because it require remembering precise name.
Comment 2 David Simonek 2010-01-04 02:41:17 UTC
Passing to right product...
Comment 3 Jiri Prox 2010-01-04 05:39:57 UTC
It's conflict of case sensitivity and camel case navigation
Comment 4 Tomas Zezula 2010-01-07 03:09:33 UTC
The problem is that the IDE is not able to distinguish among camel case and UPCASE case insensitive.
The SPARKSTMTCTRLABS is both camel case corresponfing to regexp 'S.*P.*A.*R.*K.*S.*T.*M.*T.*C.*T.*R.*L.*A.*B.*S.*' and SPARKSTMTCTRLABS.
Currently the IDE prefers the camel case but I will change it to search both camel case and case insensitive prefix when case sensitive is disabled.
Comment 5 Tomas Zezula 2010-01-07 15:06:11 UTC
fixed in jet-main d932c36ef33c
Comment 6 Quality Engineering 2010-01-09 23:39:58 UTC
Integrated into 'main-golden', will be available in build *201001100200* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/d932c36ef33c
User: Tomas Zezula <tzezula@netbeans.org>
Log: #178211:Goto Type ignores case sensitive flag
Comment 7 Tomas Zezula 2012-10-30 13:59:20 UTC
*** Bug 183432 has been marked as a duplicate of this bug. ***