Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 72503 - [projection] folding of imports does not work for class files
Summary: [projection] folding of imports does not work for class files
Status: RESOLVED DUPLICATE of bug 42097
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.0   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: JDT-Core-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 104193 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-08-24 10:22 EDT by Silvio Böhler CLA
Modified: 2007-06-22 10:42 EDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Silvio Böhler CLA 2004-08-24 10:22:32 EDT
Build id: 200408170800

Steps:
- Open "Open Type" Dialog
- Open "BasicNewFileResourceWizard"

-> Imports can't be folded
-> Imports and package decl are not shown in the outline view

- Open a source file in your workspace

-> Imports can be folded, outline view is correct.
Comment 1 Dani Megert CLA 2004-08-24 10:43:05 EDT
Imports and package declaration are not part of the class file / Java Model and
because Outline and folding are constructed form the model they don't handle
imports.

The Outline problem is covered/explained in bug 42097. Adapting summary.
Comment 2 Dani Megert CLA 2005-07-18 07:08:39 EDT
*** Bug 104193 has been marked as a duplicate of this bug. ***
Comment 3 Dani Megert CLA 2005-07-18 07:10:03 EDT
There are no plans to parse the source in UI land. JDT Core knows and provides
the source and hence could also provide the information when asked.

Might be marked as duplicate of bug 42097.
Comment 4 Jerome Lanneluc CLA 2007-06-22 10:42:02 EDT

*** This bug has been marked as a duplicate of bug 42097 ***