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.
package javaapplication13; public class Main { public static void main(String[] args) { System.out.println( "q w e r t y u i o p a s d f g h j k l z x c v b n m "); } } -> package javaapplication13; public class Main { public static void main(String[] args) { try{<ENTER>System.out.println( "q w e r t y u i o p a s d f g h j k l z x c v b n m "); } } -> package javaapplication13; public class Main { public static void main(String[] args) { try{ System.out.println( } "q w e r t y u i o p a s d f g h j k l z x c v b n m "); } } If editor cannot handle multiline expressions correctly it shouldn't try to insert brace because it just adds more work to programmer instead of helping him. Product Version = NetBeans IDE Dev (Build 20080503171657) Operating System = Windows XP version 5.1 running on x86
Maxi, please take a look at it.
Fixed. --- http://hg.netbeans.org/main/rev/6fb73b8089ba
Integrated into 'main-golden', will be available in build *200809231435* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/6fb73b8089ba User: Max Sauer <msauer@netbeans.org> Log: #134719: incorrect try{<ENTER> behaviour with multiline expressions