Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 365067 - [Organize Imports] does not fix broken references
Summary: [Organize Imports] does not fix broken references
Status: CLOSED DUPLICATE of bug 364680
Alias: None
Product: TMF
Classification: Modeling
Component: Xtext (show other bugs)
Version: 2.2.0   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-29 09:55 EST by Holger Schill CLA
Modified: 2017-09-19 17:10 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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