Bug 481515 - [open type] Let wildcards extend beyond package names
Summary: [open type] Let wildcards extend beyond package names
Status: NEW
Alias: None
Product: JDT
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 4.5   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: JDT-UI-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-11-05 10:18 EST by Lukas Eder CLA
Modified: 2015-11-05 10:18 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 Lukas Eder CLA 2015-11-05 10:18:46 EST
In the Open Type dialog, I'd like to type things like:

  *util*List

I would expect this to match all the List types in java.util (and other util(s) packages), e.g. java.util.ArrayList, java.util.LinkedList.

However, this is not the case. It matches only types that have util*List in their type names, or in their package names. For instance:

  java.beans.java_util_AbstractList_PersistenceDelegate
  ****************util*********List

In order to find the wanted types, I have to type

  *util.*List

I find this unexpected and inconsistent, for instance with the fact that the leading asterisk still matches java.util (2 package names), and the second asterisk still matches things like "java.util.Arrays.ArrayList" (2 type names)