Community
Participate
Working Groups
In the Outline view, it would be nice to have a "Collapse All" button like in JDT.
Created attachment 208714 [details] Add Collapse All button patch This patch adds the Collapse All button to the outline. Also, by handling org.eclipse.ui.handlers.CollapseAllHandler, the keybinding Ctrl+Shift+Numpad_Divide works.
Anton, would you mind reviewing the small patch? Thanks!
(In reply to comment #2) > Anton, would you mind reviewing the small patch? Thanks! Looks good. For an extra bonus, could you combine the two CollapseAllActions into one and put it into the org.eclipse.cdt.internal.ui.actions package (ideally moving messages as well)? Thanks!
(In reply to comment #3) > (In reply to comment #2) > > Anton, would you mind reviewing the small patch? Thanks! > > Looks good. > For an extra bonus, could you combine the two CollapseAllActions into one and > put it into the org.eclipse.cdt.internal.ui.actions package (ideally moving > messages as well)? > Thanks! I combined the two actions and moved the messages. I also updated the user documentation a little bit. Thank you for the review and suggestions!
Very nice!