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 179502 - Code formating insert space before variables and classes declaration
Summary: Code formating insert space before variables and classes declaration
Status: VERIFIED FIXED
Alias: None
Product: javafx
Classification: Unclassified
Component: Editor (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P2 normal (vote)
Assignee: Anton Chechel
URL:
Keywords: REGRESSION
Depends on:
Blocks: 173487
  Show dependency tree
 
Reported: 2010-01-14 07:07 UTC by Alexandr Scherbatiy
Modified: 2010-02-03 03:33 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-01-14 07:07:30 UTC
NetBeans-JavaFX-Soma:  #104

  Product Version         = NetBeans IDE Dev (Build 201001131418)
(#4aedc16d0468)
  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:
----------------------------------
var a = 10;
 var b: Integer = 20;
     var c = false;
 var d = "Hello World!";

    class A {
}
----------------------------------

The result is:
----------------------------------
 var a = 10;
 var b: Integer = 20;
 var c = false;
 var d = "Hello World!";

 class A {
}
----------------------------------

There is a space before the variables and the classe declaration
Comment 1 Anton Chechel 2010-01-21 07:29:26 UTC
fixed
http://hg.netbeans.org/javafx/rev/d5aae84aa0af
Comment 2 Alexandr Scherbatiy 2010-02-03 03:33:04 UTC
verified in  NetBeans-JavaFX-Soma: #141