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 151605 - Reformat: Put space between ":" and variable type
Summary: Reformat: Put space between ":" and variable type
Status: VERIFIED FIXED
Alias: None
Product: javafx
Classification: Unclassified
Component: Editor (show other bugs)
Version: 6.x
Hardware: All Windows Vista
: P3 blocker (vote)
Assignee: Rastislav Komara
URL:
Keywords:
Depends on:
Blocks: 155841
  Show dependency tree
 
Reported: 2008-10-28 15:06 UTC by Lark Fitzgerald
Modified: 2009-01-14 12:35 UTC (History)
1 user (show)

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 Lark Fitzgerald 2008-10-28 15:06:00 UTC
See: http://www.netbeans.org/issues/show_bug.cgi?id=151518

I'd like to see this functionality too:
3. Put space  between ":" and variable type. Example:
var springDescription: Text = Text {
Comment 1 David Strupl 2008-10-28 21:13:52 UTC
Reformat --> Rasta.
Comment 2 Rastislav Komara 2008-11-03 09:36:15 UTC
done
Comment 3 Lark Fitzgerald 2008-11-03 22:50:35 UTC
Still reproducible.  If I start with:

var test1: Number = 0;
var test2 :Number = 0;
var test3:Number = 0;

and format it, then test1 and 3 should get a space before the :
Comment 4 Lark Fitzgerald 2008-11-03 22:51:20 UTC
Still reproducible.  If I start with:

var test1: Number = 0;
var test2 :Number = 0;
var test3:Number = 0;

and format it, then test1 and 3 should get a space before the :

tested using: Continuous build #493 contains SDK 46 (768) 
Product Version: NetBeans IDE 6.5 RC2 (Build 200810270001)
Java: 1.6.0_10; Java HotSpot(TM) Client VM 11.0-b15
System: Windows Vista version 6.0 running on x86; Cp1252; en_US (nb)
Comment 5 Rastislav Komara 2008-11-05 14:28:49 UTC
Moving to future
Comment 6 Rastislav Komara 2008-11-05 14:35:49 UTC
moving to future
Comment 7 Rastislav Komara 2008-12-10 07:00:03 UTC
Fixed.
Comment 8 Alexandr Scherbatiy 2008-12-23 11:29:05 UTC
JavaFX_NB_Plugin_Franca_NB_65_fixes:  #16 22-Dec-2008 00:11:09

Still reproducible.  If I start with:

var test1: Number = 0;
var test2 :Number = 0;
var test3:Number = 0;

Comment 9 Rastislav Komara 2009-01-05 11:05:09 UTC
The issues has been caused by erroneous merge of head in repository. 
Comment 10 Alexandr Scherbatiy 2009-01-14 12:35:40 UTC
verified in JavaFX_NB_Plugin_Franca_NB_65_fixes_latest_SDK_installer:  #25 14-Jan-2009 00:40:39