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 178718

Summary: Missing spaces inside {} by default
Product: javafx Reporter: Alexandr Scherbatiy <sunflower>
Component: EditorAssignee: Anton Chechel <manowar>
Status: VERIFIED FIXED    
Severity: normal CC: sustaining
Priority: P3    
Version: 6.x   
Hardware: PC   
OS: Windows XP   
Issue Type: DEFECT Exception Reporter:
Bug Depends on:    
Bug Blocks: 173487    

Description Alexandr Scherbatiy 2009-12-16 02:47:58 UTC
NetBeans-JavaFX-Soma: #67
  Product Version         = NetBeans IDE 6.8 (Build 200912041610) (#ec9be6a6486c)
  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:

- Format the code from page 
http://wikis.sun.com/display/JavaFxCodeConv/Home
-------------------------------------------------
Point2D { x: 100, y: 100 }
-------------------------------------------------

The result is: Point2D {x: 100, y: 100} // Missing spaces inside {}
Comment 1 Anton Chechel 2009-12-16 09:40:20 UTC
It is controlled in formatter settings.
Comment 2 Alexandr Scherbatiy 2009-12-17 02:26:23 UTC
Default formatter settings should insert spaces into {}.
See http://wikis.sun.com/display/JavaFxCodeConv/Home
Comment 3 Anton Chechel 2009-12-22 09:09:46 UTC
fixed
http://hg.netbeans.org/javafx/rev/80ca45f00d1d
Comment 4 Alexandr Scherbatiy 2010-01-12 07:22:40 UTC
verified in NetBeans-JavaFX-Soma: #93
Comment 5 Petr Suchomel 2010-01-15 03:50:56 UTC
Fixed in release68_fixes
http://hg.netbeans.org/javafx/rev/73312db0d7da
Comment 6 Lukas Hasik 2010-01-25 06:43:54 UTC
Verified in NB 6.8 patch1 - build 201001250341