Consider the following:
package test50
class Test50 {
String foo
List|
}
Invoke code assist at "|". This is what I see:
- the most obvious suggestions (those that start with List, or even exact matches) are shown below other suggestions that apparently are not relevant; this class is small, so it's not a big issue, a normal class has many fields and methods, so relevant suggestions are lost; this is very annoying
- if I choose "java.awt.List" and hit enter, no import declaration is added
Consider this slight variation:
package test50
class Test50 {
String foo
TreeNode|
}
and suppose I want to choose javax.swing.tree.TreeNode: the fully qualified class name is inserted, instead of keeping just TreeNode and adding a new import. This happens although I have the Code Assist option "Add import instead of qualified name" checked.
Consider the following:
Invoke code assist at "|". This is what I see:
Consider this slight variation:
and suppose I want to choose
javax.swing.tree.TreeNode: the fully qualified class name is inserted, instead of keeping justTreeNodeand adding a new import. This happens although I have the Code Assist option "Add import instead of qualified name" checked.