Bug 137244 - Type Info filter also needs to search using prefix when CamelCase fails
Summary: Type Info filter also needs to search using prefix when CamelCase fails
Status: RESOLVED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.2   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.2 RC2   Edit
Assignee: Markus Keller CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on: 137087
Blocks:
  Show dependency tree
 
Reported: 2006-04-18 11:35 EDT by Frederic Fusier CLA
Modified: 2006-04-18 15:51 EDT (History)
1 user (show)

See Also:


Attachments
Proposed patch (1.54 KB, patch)
2006-04-18 11:37 EDT, Frederic Fusier CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Frederic Fusier CLA 2006-04-18 11:35:59 EDT
JDT-UI part to fix issue in Open type described in bug 137087.

To test this, you need to apply patch https://bugs.eclipse.org/bugs/attachment.cgi?id=38802&action=view
on JDT/Core HEAD...

Scenario is:
1) Copy in clipboard pattern "Hashmap" given in bug 137087
2) Open type dialog and paste your pattern in one shot
  => with JDT/Core patch, you should get HashMap in types list
3) Set cursor at the end of string and suppress last three characters
  (eg. you only get "Hash" in type string)
  => you get many other matches: OK
4) Add again "map" at the end to retrieve initial pattern: "Hashmap"
  => you get no result in types list: KO
     Extpected behavior is to have only "HashMap" back on types list
Comment 1 Frederic Fusier CLA 2006-04-18 11:36:27 EDT
Ooops, wrong component
Comment 2 Frederic Fusier CLA 2006-04-18 11:37:41 EDT
Created attachment 38805 [details]
Proposed patch

This patch fixes the problem (implemented similar way as I did in JDT/Core...)
Comment 3 Frederic Fusier CLA 2006-04-18 12:41:14 EDT
Fix for bug 137087 has been released in JDT/Core HEAD and will be available with tomorrow's nightly build...
Comment 4 Markus Keller CLA 2006-04-18 15:51:17 EDT
Thanks, Frédéric. Released the patch to HEAD for next N-build.