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.
If I have a block like this: foreach ($foos as $foo) { foreach ($bar as $bars) { doSomething($foo, $bar); } } And then later I wrap the code inside /* and */, the format gets removed like this: /* foreach ($foos as $foo) { foreach ($bar as $bars) { doSomething($foo, $bar); } } * */
I cannot reproduce this issue in the dev version of NetBeans. Thanks for reporting. Product Version: NetBeans IDE Dev (Build 20160602-eb3cfce69024) Java: 1.8.0_91; Java HotSpot(TM) 64-Bit Server VM 25.91-b14 Runtime: Java(TM) SE Runtime Environment 1.8.0_91-b14 System: Linux version 4.2.0-36-generic running on amd64; UTF-8; cs_CZ (nb)
You are right, it's not happening in the DEV version
Thanks for your verification.