Bug 154035 - [preferences][content assist] Add an "Always add import" pref to code assist
Summary: [preferences][content assist] Add an "Always add import" pref to code assist
Status: ASSIGNED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Text (show other bugs)
Version: 3.2   Edit
Hardware: PC Windows XP
: P5 enhancement (vote)
Target Milestone: ---   Edit
Assignee: JDT-Text-Inbox CLA
QA Contact:
URL: https://bugs.eclipse.org/bugs/show_bu...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-08-16 06:07 EDT by Stephen P CLA
Modified: 2007-07-09 09:05 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stephen P CLA 2006-08-16 06:07:24 EDT
In eclipse 3.1.x When I type java.util.a then clicking ArrayList from the drop down eclipse would change the "java.util.ArrayList" to "ArrayList" and add "import
java.util.ArrayList;" to the top of the java class in the imports section. In
3.2+ it no longer does this and just leaves "java.util.ArrayList" in the code.

Please add an option in the preferences to make eclipse use the 3.1 way of adding imports.

See https://bugs.eclipse.org/bugs/show_bug.cgi?id=149769 for the bug discussion.
Comment 1 Dani Megert CLA 2006-08-16 08:21:08 EDT
Note: this must also be honored by Javadoc.