Bug 6423

Summary: Search - does not find declarations of method "to*String"
Product: [Eclipse Project] JDT Reporter: Philipe Mulet <philippe_mulet>
Component: CoreAssignee: Jerome Lanneluc <jerome_lanneluc>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 2.0   
Target Milestone: 2.0 M1   
Hardware: PC   
OS: Windows 2000   
Whiteboard:
Bug Depends on:    
Bug Blocks: 6503    

Description Philipe Mulet CLA 2001-11-29 10:12:04 EST
Build 20011115

When searching for declarations of method "to*String" (using wildcard in text 
search pattern), no match is found.

Suspecting the char[] pattern matcher to not consider this scenario.
Comment 1 Philipe Mulet CLA 2001-11-29 12:38:08 EST
Actually, the CharOperation pattern match is working ok. Bug is elsewhere.
Comment 2 Jerome Lanneluc CLA 2001-11-30 16:54:27 EST
I could not reproduce (i.e. I find matches (lots of them!)).
I guess I would have to get your workspace to see what's wrong.
Comment 3 Philipe Mulet CLA 2001-11-30 18:47:54 EST
Please try with declarations of 'initialize*builder' instead.
There should be one inside jdtcore.
Comment 4 Jerome Lanneluc CLA 2001-12-01 04:13:16 EST
If I try 'initialize*builder' I find none, but if I try 'initialize*Builder' I 
find JavaBuilder.initializeBuilder()

Should the search with wildcard be automaticaly case insensitive, or should we 
let the UI decide?
Comment 5 Philipe Mulet CLA 2001-12-03 09:35:49 EST
Changed the default search engine textual search to be case insensitive. Case 
sensitive search can still be triggered by using:

SearchEngine.search(workspace, createSearchPattern(patternString, searchFor, 
limitTo, true), scope, resultCollector);
Comment 6 Philipe Mulet CLA 2001-12-04 13:33:10 EST
Reverted to the old behavior, UI will add a checkbox for case insensitivity.