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 187418 - Indent assignment one level on the next line instead of rhs
Summary: Indent assignment one level on the next line instead of rhs
Status: RESOLVED WONTFIX
Alias: None
Product: javafx
Classification: Unclassified
Component: Editor (show other bugs)
Version: 7.0
Hardware: PC Windows XP
: P4 normal (vote)
Assignee: Adam Sotona
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-10 09:43 UTC by Alexandr Scherbatiy
Modified: 2011-05-16 13:52 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-06-10 09:43:35 UTC
Product Version         = NetBeans IDE 6.9 (Build 201006082101) (#a94d6a4a87fe)
  Operating System        = Windows XP version 5.1 running on x86
  Java; VM; Vendor        = 1.6.0_20; Java HotSpot(TM) Client VM 16.3-b01; Sun Microsystems Inc.


Steps to reproduce:

- Format the code
-----------------------------
import javafx.scene.shape.Circle;
import javafx.scene.paint.Color;


def circle = Circle {
centerX: 100, centerY: 100
radius: 40
fill: Color.BLACK
}
-----------------------------

The result is:
-----------------------------
def circle = Circle {
            centerX: 100, centerY: 100
            radius: 40
            fill: Color.BLACK
        }
-----------------------------

According to the Coding Conventions it is better to
indent one level on the next line.

http://wikis.sun.com/display/JavaFxCodeConv
-----------------------------
def circle = Circle {
        centerX: 100, centerY: 100
        radius: 40
        fill: Color.BLACK
    }
-----------------------------
Comment 1 Martin Ryzl 2010-07-07 13:19:30 UTC
6.9.1 keyword removed
Comment 2 Martin Ryzl 2010-10-21 11:56:31 UTC
.
Comment 3 David Strupl 2011-05-16 13:52:20 UTC
Closing all bugs filed against JavaFX 1.x as wontfix. We will support JavaFX 2.0 - please keep opened only bugs against the new release. Thanks.