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.
Surround with try-catch, when invoked from a hint, does not honour new line after brace setting, the new line is always added after 'catch' or 'finally'. Reformat code does coorrect this. Steps to reproduce: ------------------- 1) Inside of a method, type: java.io.PrintWriter out = new java.io.PrintWriter(new java.io.BufferedWriter(new java.io.FileWriter("s.out"))); 2) Invoke 'Surround with T-C' from appeared hint => newlines added --- NetBeans IDE Dev (Build 070307) 1.6.0_01; Java HotSpot(TM) Server VM 1.6.0_01-b04 Linux version 2.6.12-1.1390_FC4smp running on i386 en_US (nb); UTF-8
Overtake.
Reassigning all moonko's java/source bugs to myself.
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue. Thanks for your cooperation, NetBeans IDE 8.2 Release Boss