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

Bug 298663

Summary: [context] make Alt-click on a package in Package Explorer show the sub-packages of that package
Product: z_Archived Reporter: David M. Karr <davidmichaelkarr>
Component: MylynAssignee: Project Inbox <mylyn-triaged>
Status: CLOSED MOVED QA Contact:
Severity: enhancement    
Priority: P4 CC: shawn.minto
Version: unspecifiedKeywords: helpwanted
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description David M. Karr CLA 2009-12-30 16:08:48 EST
Build Identifier: M20090917-0800

When a package is viewable in my context, but not the classes in that package or the "sub-packages" of that package, when I "Alt-click" on that package, it shows the classes in that package, but not the "sub-packages" of that package.  The only way (that I know of) to now see the "sub-packages" of that package is to go all the up to the root of the source tree and Alt-click that, then go back down into the packages to find the package I want.  When I have a wide and deep package tree, it's almost easier to just turn off the "Focus on Active Task" button for a bit.

What I really want to happen is for "Alt-click" on the package to not only show the classes in that package, but also the "sub-packages" of that package.

Reproducible: Always
Comment 1 Steffen Pingel CLA 2010-01-09 03:22:10 EST
David, have you tried using the hierarchical presentation in the package explorer (View menu > Package Presentation)? It allows you to do what is described in your request.

I can still this being a useful change in the flat presentation as well which is the default and probably used by a majority of users. While sub-packages are not displayed as children in the flat presentation they are still children in the sense of the data model (i.e. Java package hierarchy). 

The change could be tricky though since the filter would have to find the right parent node to refresh and sub-package would be shown below the files which would make this less useful.
Comment 2 David M. Karr CLA 2010-01-09 15:06:03 EST
I hadn't tried hierarchical mode before, no.  I see that it does what I want, albeit with a little more vertical space used (one of the advantages of flat mode).  I can live with this.
Comment 3 Steffen Pingel CLA 2010-07-08 20:17:33 EDT
Thank you for your request. It does not fall into the core scope of the project and due to time constraints we are unable to resolve it at the moment. The bug has been marked helpwanted though to indicate that we would be happy to support a community contribution to resolve it.
Comment 4 Eclipse Webmaster CLA 2022-11-15 11:45:08 EST
Mylyn has been restructured, and our issue tracking has moved to GitHub [1].

We are closing ~14K Bugzilla issues to give the new team a fresh start. If you feel that this issue is still relevant, please create a new one on GitHub.

[1] https://github.com/orgs/eclipse-mylyn