Community
Participate
Working Groups
It's quite frequent that when doing a Ctrl+Shift+O on some code, we get JDT suggesting multiple types when the editor contains hints about fields or methods to find in the type that would resolve to only one of them. In this case, either Ctrl+Shift+O should automatically select the type that has the dereferenced fields, or it should show this type as first recommendation in the dialog. One example is when code references "Messages.blahblah" and Messages is not imported, Ctrl+Shift+O shows all known Messages class when only one of them has a "blahblah" field.