Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What are the shortcuts keys for Netbeans code folding?

Tags:

netbeans

Does anybody know a shortcut to fold/unfold (collapse/expand) all classes/methods in a php file using netbeans?

like image 578
Lu4 Avatar asked Jan 09 '11 00:01

Lu4


1 Answers

To Collapse: Ctrl+Shift+Minus (on the keypad)

To Expand: Ctrl+Shift+Plus (on the keypad)

This works regardless of what language your using, (Tested on PHP, HTML, CSS & Javascript)

But you can find out the keyboard shortcuts easily yourself, and even change them:

  • Open the Options Dialog (Tools -> Options)
  • Then Select Keymap
  • Enter "Collapse" into the input field labelled "Search" and all shortcuts for that action are displayed. You can do the same for "Expand All"
like image 138
a_horse_with_no_name Avatar answered Oct 06 '22 23:10

a_horse_with_no_name