I have taken the leap from my comfortable dreamweaver IDE to Netbeans and am missing my code folding options :(
I see with Netbeans you can fold nor
The shortcut key for folding all of the data in any file type is "Ctrl + Shift + - (minus sign)".
To expand fully that file, you need to do the opposite, which is "Ctrl + Shift + + (plus sign)".
To see & edit the whole Keyboard Shortcuts of NetBeans IDE, please go to the "Tools Menu > Options > Keymap Tab".
Hope it helps.
Update for Folding Code Structures other than the Functions itself:-
Follow these steps:-
Tools Menu > Options > Editor Tab > General Sub-Tab".if" & "for" logic, ...), and then restart the application (otherwise it MAY NOT work).