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

Summary: Stage template isn't formatted properly
Product: javafx Reporter: Torbjorn Norbye <tor>
Component: EditorAssignee: Anton Chechel <manowar>
Status: VERIFIED FIXED    
Severity: normal    
Priority: P3    
Version: 6.x   
Hardware: PC   
OS: Mac OS X   
Issue Type: DEFECT Exception Reporter:
Bug Depends on:    
Bug Blocks: 173487    

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)