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.

Bug 182355 - Code formatting move the semicolon to new line for the overridden attributes
Summary: Code formatting move the semicolon to new line for the overridden attributes
Status: VERIFIED FIXED
Alias: None
Product: javafx
Classification: Unclassified
Component: Editor (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P3 normal (vote)
Assignee: Anton Chechel
URL:
Keywords:
Depends on:
Blocks: 173487
  Show dependency tree
 
Reported: 2010-03-19 10:08 UTC by Alexandr Scherbatiy
Modified: 2010-03-23 13:25 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexandr Scherbatiy 2010-03-19 10:08:28 UTC
NetBeans-JavaFX-Soma:  #190

  Product Version         = NetBeans IDE Dev (Build 201003180200) (#b6d5e694ca8b)
  Operating System        = Windows XP version 5.1 running on x86
  Java; VM; Vendor        = 1.6.0_15; Java HotSpot(TM) Client VM 14.1-b02; Sun Microsystems Inc.



Steps to reproduce:

- Copy the code to the editor:
--------------------------------------------------
import javafx.scene.Node;
import javafx.scene.shape.Circle;

class A{
    public var node:Node;
}

class B extends A{
    override var node = Circle{};
}
--------------------------------------------------

- Format the code
The result is:

--------------------------------------------------
class B extends A {

    override var node = Circle{}
;
}
--------------------------------------------------
Comment 1 Anton Chechel 2010-03-22 14:49:41 UTC
fixed
http://hg.netbeans.org/javafx/rev/0f42d454e860
Comment 2 Alexandr Scherbatiy 2010-03-23 13:25:02 UTC
verified in NetBeans-JavaFX-Soma: #194