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 normal functions but I can't seem to work out how to fold large chunks (entire modules). I have found fixes for other languages in Netbeans but they don't seem to work in Javascript. This is very frustrating when working on my large 4000+ line files...
Surely there is a way?! If not can anyone recommend an IDE that is good for JS, CSS, HTML and PHP?
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).