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

Bug 365067

Summary: [Organize Imports] does not fix broken references
Product: [Modeling] TMF Reporter: Holger Schill <Holger.Schill>
Component: XtextAssignee: Project Inbox <tmf.xtext-inbox>
Status: CLOSED DUPLICATE QA Contact:
Severity: enhancement    
Priority: P3    
Version: 2.2.0   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:

Description Holger Schill CLA 2011-11-29 09:55:15 EST
Steps to reproduce:

class Foo {
 def bar(Blob a)

}

After invoking organize imports it would be nice to have the import for the type if it is clear what type to take. If not it would be nice to have a popup to select the type as it is in JDT.

The result may be:

import java.sql.Blob
class Foo  { 
 def bar(Blob a)
}
Comment 1 Moritz Eysholdt CLA 2011-11-30 09:12:10 EST
this has been reported before

*** This bug has been marked as a duplicate of bug 364680 ***
Comment 2 Karsten Thoms CLA 2017-09-19 16:58:52 EDT
Closing all bugs that were set to RESOLVED before Neon.0
Comment 3 Karsten Thoms CLA 2017-09-19 17:10:09 EDT
Closing all bugs that were set to RESOLVED before Neon.0