| Summary: | [navigation] Would like a collapse/expand of local types in Outline View | ||
|---|---|---|---|
| Product: | [Eclipse Project] JDT | Reporter: | Chris Ingham <chris.ingham> |
| Component: | Text | Assignee: | JDT-Text-Inbox <jdt-text-inbox> |
| Status: | RESOLVED DUPLICATE | QA Contact: | |
| Severity: | enhancement | ||
| Priority: | P3 | CC: | chris.ingham |
| Version: | 3.2 | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows XP | ||
| Whiteboard: | |||
Simply go to the Outline view and then press ARROW_LEFT to move up the hierarchy. You can then collapse it with NUMPAD_- (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? |
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!