This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 113278 - Expand/Collapse all button in projects and files tab
Summary: Expand/Collapse all button in projects and files tab
Status: RESOLVED FIXED
Alias: None
Product: projects
Classification: Unclassified
Component: Generic Projects UI (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker with 7 votes (vote)
Assignee: Jesse Glick
URL: http://wiki.netbeans.org/NewAndNotewo...
Keywords:
Depends on:
Blocks:
 
Reported: 2007-08-21 06:12 UTC by viggonavarsete
Modified: 2013-03-04 17:20 UTC (History)
3 users (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description viggonavarsete 2007-08-21 06:12:28 UTC
In Eclipse you are able to collapse all expanded folders by clicking one button on top of the tree structure. A similar
feature is absolutely needed in Netbeans as well.
Comment 1 Peter Pis 2008-08-25 15:01:27 UTC
Reassigning to "projects".
Comment 2 mclaborn 2010-03-18 16:50:37 UTC
Yes PLEASE!
Comment 3 sdlarsen 2011-11-23 10:07:49 UTC
+1
Comment 4 Jesse Glick 2011-11-23 15:00:47 UTC
"Expand All" makes no sense; you could be sitting there for hours. "Collapse All" could I think be implemented in ProjectTab [1]. However a toolbar button would waste screen space for everyone, including people who never wanted such a feature. A context menu item in the blank space would be easy enough though it is not very discoverable. nbui@netbeans.org would be the place to discuss.

[1] projectui/src/org/netbeans/modules/project/ui/ProjectTab.java
Comment 5 mclaborn 2011-12-01 15:04:12 UTC
I agree that expand all doesn't make a lot of sense.

I do some development in Eclipse, for Android apps. When in Eclipse I use this feature constantly, and miss it severely when in NetBeans.

One way to accomplish it in the UI would be to put a small toolbar at the top of these views, which could have the button for collapse all, and potentially other useful functions.  Right click in the white space would also be good - and easier to implement since there is already a context menu there.

This is so important to me that I'd be willing to work on this myself, although it would probably take me a long time to become productive in NB development since I don't know the architecture.
Comment 6 Jesse Glick 2011-12-01 18:04:41 UTC
core-main #3e379bbb09b3
Comment 7 Quality Engineering 2011-12-02 16:43:33 UTC
Integrated into 'main-golden'
Changeset: http://hg.netbeans.org/main-golden/rev/3e379bbb09b3
User: Jesse Glick <jglick@netbeans.org>
Log: #113278: Expand/Collapse all button in projects and files tab
Comment 8 mclaborn 2012-06-06 00:04:17 UTC
I assume this is on track for 7.2?  How will we access this feature?
Comment 9 villentretenmerth 2013-03-04 12:52:29 UTC
Is there any keyboard shortcut for this usability? If not please add it (or write where can I do it).
Greetings
Comment 10 Jesse Glick 2013-03-04 17:20:21 UTC
villentretenmerth: please do not reopen. You can file an ENHANCEMENT blocking this one if you wish. There is no keyboard shortcut, though you can invoke it with the keyboard: deselect any selection (Ctrl-SPACE), open the context menu (Shift-F10), navigate with arrow keys to the menu item (UP UP), invoke (ENTER).