Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 138677 - [navigation] Would like a collapse/expand of local types in Outline View
Summary: [navigation] Would like a collapse/expand of local types in Outline View
Status: RESOLVED DUPLICATE of bug 41092
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Text (show other bugs)
Version: 3.2   Edit
Hardware: PC Windows XP
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: JDT-Text-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-04-26 13:19 EDT by Chris Ingham CLA
Modified: 2006-04-27 12:30 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Ingham CLA 2006-04-26 13:19:52 EDT
When the Outline View is synched with the editor, the Outline view's tree expands inner ("local") classes as you're browing through the code.  It'd be nice to be able to quickly collapse these in the Outline View to just see the outer class' methods.  I know there's a "Hide Local Types" button, but I hate forgetting to turn it back off and then not seeing them at all.

Thanks!
Comment 1 Dani Megert CLA 2006-04-27 06:41:58 EDT
Simply go to the Outline view and then press ARROW_LEFT to move up the hierarchy. You can then collapse it with NUMPAD_-
Comment 2 Chris Ingham CLA 2006-04-27 10:55:53 EDT
(In reply to comment #1)
> Simply go to the Outline view and then press ARROW_LEFT to move up the
> hierarchy. You can then collapse it with NUMPAD_-

I'm aware of all that.  And NUMPAD_* expands everything.  But AFAIK there's no easy way to collapse everything.  And that's why I submitted an enhancement request.

I contribute to a very large Java framework containing Classes with a dozen or more inner / anonymous classes.  NUMPAD_- only collapses a single subtree, and if you have multiple subtrees (local classes in this case), there's no convenient way to collapse them all, which is why expand all and collapse all buttons were invented.  Otherwise why not use the same logic for the Navigation and Package Views?
Comment 3 Dani Megert CLA 2006-04-27 12:30:23 EDT

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