Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 16300

Summary: Request filters for automatic adding import on code completion & organize imports
Product: [Eclipse Project] JDT Reporter: neil_buesing
Component: TextAssignee: JDT-Text-Inbox <jdt-text-inbox>
Status: RESOLVED DUPLICATE QA Contact:
Severity: enhancement    
Priority: P3    
Version: 2.0   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:

Description neil_buesing CLA 2002-05-17 15:33:01 EDT
When you do <ctrl>space for code completion on a class that has more than one 
valid answer (same is true for organize imports), you can end up with a long 
list of classes to choose from.  It would be nice if this behavior could be 
controlled.

Highly desired enhancement:

- Be able to filter out classes by regular expression, i.e. com.sun.*.internal.*

Minor desired enhancment:

- Be able to control sorting.  I would rather have java.util.List appear prior 
to java.awt.List.  This is minor to me, since I could filter out "java.awt.*" 
for my development.
Comment 1 Erich Gamma CLA 2002-05-19 10:14:57 EDT
agreed that this would be useful, but we have decided to reconsider exclusion 
filters after 2.0
Comment 2 Dirk Baeumer CLA 2002-09-02 09:25:29 EDT
Reopen for investigation
Comment 3 Martin Aeschlimann CLA 2002-09-30 10:52:30 EDT

*** This bug has been marked as a duplicate of 21194 ***