Bug 201303

Summary: [navigation] Allow to see all classes of attached source in Outline (quick and view)
Product: [Eclipse Project] JDT Reporter: Robert Konigsberg <konigsberg>
Component: CoreAssignee: JDT-Core-Inbox <jdt-core-inbox>
Status: VERIFIED WORKSFORME QA Contact:
Severity: enhancement    
Priority: P3    
Version: 3.4   
Target Milestone: 3.5 M2   
Hardware: All   
OS: All   
Whiteboard:

Description Robert Konigsberg CLA 2007-08-27 14:52:58 EDT
I'd like to see a feature whereby one can navigate to an inner class' outer class while using Quick Outline. This would be particularly useful in the use case where a class file has inner classes of substantial size, and you want to use CTRL-O to view the entire source file's outline, no matter where your cursor happens to be. If your inner class is large, the odds of the cursor being within that class is high, and then Quick Outline tends to have less useful information. The backspace key could be effective in this case.
Comment 1 Dani Megert CLA 2007-08-28 02:23:40 EDT
This is only a problem with class files - right? For CUs we already show all types.

The problem with class files is that the source doesn't match the class file i.e. it often shows more (types) than the just the class file you opened. The Outline shows what the model gives us. We would need API from JDT Core to give us all the types that are in the attached source.
Comment 2 Robert Konigsberg CLA 2008-08-26 21:25:24 EDT
Looks like I'm plain ol' wrong.
Comment 3 Frederic Fusier CLA 2008-09-15 09:12:20 EDT
Verified for 3.5M2 using I20080914-2000.