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 200803191206) Java: 1.6.0_03; Java HotSpot(TM) Client VM 1.6.0_03-b05 System: Windows Vista version 6.0 running on x86; Cp1252; en_US (nb) Plugin: CB#249 (2008-03-31_15-09-10.zip) expect 2 New lines between import and public class Steps: 1. create new javafx class 2. paste the following source in: import java.lang.Math; public class Arctangent extends Applet { 3. Format it and you get: import java.lang.Math; public class Arctangent extends Applet { Expected an extra new line between them. ie import java.lang.Math; public class Arctangent extends Applet {
This is based on reformat code feature. Reformat is difficult with lowered priority.
rescheduled
Reformat does nothing 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 nighly plugin: 269 Logged Jira: http://openjfx.java.sun.com/jira/browse/JFXC-1383
Fixed according to Code Style.
Verified using: 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 nighly plugin: 271 As long as there is no AST error in the tree (ie, Applet { has a closing }, then the reformatting will work properly.