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.
Product Version = NetBeans IDE 7.2 (Build 201207171143) Operating System = Windows 7 version 6.1 running on amd64 Java; VM; Vendor = 1.6.0_26 Runtime = Java HotSpot(TM) 64-Bit Server VM 20.1-b02 Code folding seems rather capricious (particularly in PHP) - while editing, the code folding behaviour kicks in, and I keep having to type CTRL-Q to find my editing point. Also it seems unnecessary to fold a single statement following an if() statement. Maybe some extra options to configure this behaviour (e.g. only fold blocks more than n lines long?)
Not sure what you are complaining about...that we fold onle line statements? It's an enhancement. And the first one, what mean "while editing, the code folding behaviour kicks in"? That your code is folded automatically while you are editting? It's not a PHP problem, it's a problem of whole infrastructure. Java folding behaves similarly.