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

Bug 84983

Summary: [typing] imports disappear
Product: [Eclipse Project] JDT Reporter: Dani Megert <daniel_megert>
Component: TextAssignee: Tom Hofmann <eclipse>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 3.1   
Target Milestone: 3.1 M5   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Dani Megert CLA 2005-02-11 07:38:48 EST
I20050209-0800 + JDT UI from HEAD

1. open a CU with several imports
2. enable folding (ensure imports are folded)
3. remove code so that first import is no longer needed
4. run Organize Imports
==> all imports are gone

5. close and re-open the editor
==> imports are back
Comment 1 Dani Megert CLA 2005-02-11 08:23:45 EST
Needs to be investigated
Comment 2 Tom Hofmann CLA 2005-02-14 09:26:33 EST
steps: 

- have >2 imports
- in the outline, select the first import
- fold the import section
- in the outline, delete the first import
Comment 3 Tom Hofmann CLA 2005-02-14 11:02:05 EST
fixed > 20050214