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 183913 - Code formatting adds extra spaces after return value
Summary: Code formatting adds extra spaces after return value
Status: VERIFIED FIXED
Alias: None
Product: javafx
Classification: Unclassified
Component: Editor (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P3 normal (vote)
Assignee: Anton Chechel
URL:
Keywords:
Depends on:
Blocks: 173487
  Show dependency tree
 
Reported: 2010-04-12 13:57 UTC by Alexandr Scherbatiy
Modified: 2010-04-16 11:10 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-04-12 13:57:48 UTC
NetBeans-JavaFX-Soma:  #217

  Product Version         = NetBeans IDE Dev (Build 201004110201)
(#ca66f5e3f93f)
  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:
--------------------------------------
public class Space {

    public function exists(): Boolean {false}

}
--------------------------------------

The result is:
--------------------------------------
    public function exists(): Boolean { false    }
--------------------------------------

There are some extra spaces after the 'false' return value
Comment 1 Anton Chechel 2010-04-13 13:25:06 UTC
fixed
http://hg.netbeans.org/javafx/rev/57a8eb10162f

Again - formatting behavior for spaces could be changed in editor settings.
Comment 2 Alexandr Scherbatiy 2010-04-16 11:10:41 UTC
verified in NetBeans-JavaFX-Soma: #221