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 6.1 (Build 200804211638) Java: 1.6.0_10-beta; Java HotSpot(TM) Client VM 11.0-b11 System: Windows Vista version 6.0 running on x86; Cp1252; en_US (nb) 1. open editor and type var condition1 = false; var condition2 = true; if (condition1) { 2. press enter to get closing } 3. now type sout 4. press TAB The if and closing } get reformated to the far right.
note: This happens for pretty much all nested templates, like using at inside of a class declaration.
Sounds a bit like a formatting issue, reassigning to our formatting guru.
I know about this issue. It is caused by unfinished reformat feature. Adding dependency @ #132764
This issue is no longer reproducible using build: Product Version: NetBeans IDE 6.1 (Build 200804211638) Java: 1.6.0_10-beta; Java HotSpot(TM) Client VM 11.0-b11 System: Windows Vista version 6.0 running on x86; Cp1252; en_US (nb) fx NB61 cb plugin: 260
verified again using nightly build 60.