Bug 6423 - Search - does not find declarations of method "to*String"
Summary: Search - does not find declarations of method "to*String"
Status: CLOSED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 2.0   Edit
Hardware: PC Windows 2000
: P3 normal (vote)
Target Milestone: 2.0 M1   Edit
Assignee: Jerome Lanneluc CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 6503
  Show dependency tree
 
Reported: 2001-11-29 10:12 EST by Philipe Mulet CLA
Modified: 2002-02-12 09:19 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.