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 Dev (Build 200804030004) Java: 1.6.0_03; Java HotSpot(TM) Client VM 1.6.0_03-b05 System: Linux version 2.6.22-14-generic running on i386; UTF-8; cs_CZ (nb) int a; // Uff int b; After formatting: int a; // Uff int b; Expected: int a; // Uff int b; its really annoying :)
*** Issue 132117 has been marked as a duplicate of this issue. ***
Fixed. changeset 3aa74a5c07ed in main details: http://hg.netbeans.org/main?cmd=changeset;node=3aa74a5c07ed
*** Issue 133509 has been marked as a duplicate of this issue. ***
I can still reproduce it in Product Version: NetBeans IDE Dev (Build 20080423054047) Java: 1.6.0_10-beta; Java HotSpot(TM) Client VM 11.0-b11 System: Linux version 2.6.22-14-generic running on i386; UTF-8; en_US (nb) default formatting settings code: public class TestClass { int a; //comment int b; }
Fixed. changeset 6c04689d3cb0 in main details: http://hg.netbeans.org/main?cmd=changeset;node=6c04689d3cb0
Integrated into 'main-golden', available in NB_Trunk_Production #166 build Changeset: http://hg.netbeans.org/main/rev/6c04689d3cb0 User: Dusan Balek <dbalek@netbeans.org> Log: Issue #131954: Unexpected new line after comment - fixed.
verified, thanks Product Version: NetBeans IDE Dev (Build 20080429222325) Java: 1.6.0_10-beta; Java HotSpot(TM) Client VM 11.0-b11 System: Linux version 2.6.22-14-generic running on i386; UTF-8; en_US (nb)
The fix has been ported into the release61_fixes branch: http://hg.netbeans.org/release61_fixes/rev/5aa2aa52fcb6 http://hg.netbeans.org/release61_fixes/rev/0826ea483701