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 186021 - Stage template isn't formatted properly
Summary: Stage template isn't formatted properly
Status: VERIFIED FIXED
Alias: None
Product: javafx
Classification: Unclassified
Component: Editor (show other bugs)
Version: 6.x
Hardware: PC Mac OS X
: P3 normal (vote)
Assignee: Anton Chechel
URL:
Keywords:
Depends on:
Blocks: 173487
  Show dependency tree
 
Reported: 2010-05-12 15:28 UTC by Torbjorn Norbye
Modified: 2010-06-17 08:27 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 Torbjorn Norbye 2010-05-12 15:28:55 UTC
Not a big deal but should be easy to fix:

When you create a new project you get a default file created with a state on it. This file contains the following snippet:

                font : Font {
                    size : 16
                }


This should be formatted without a space before the colons:

                font: Font {
                    size: 16
                }

Note that the formatter gets it right -- if you format this source file with Ctrl-Shift-F it will clean it up properly -- but I think it should be formatted this way right out of the box.

(Besides there are other colons in the file that are formatted correctly - I think it's good to be consistent).

(I haven't checked the other templates - you might want to briefly check those as well when you tweak this one.)
Comment 1 Anton Chechel 2010-06-07 14:10:27 UTC
fixed
http://hg.netbeans.org/javafx/rev/f81361f4c77b
Comment 2 Alexandr Scherbatiy 2010-06-17 08:27:10 UTC
verified in NetBeans IDE Dev (Build 201006170001)