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 158353 - formatter - issue with one liners
Summary: formatter - issue with one liners
Status: VERIFIED FIXED
Alias: None
Product: javafx
Classification: Unclassified
Component: Editor (show other bugs)
Version: 6.x
Hardware: All Windows XP
: P3 blocker (vote)
Assignee: Anton Chechel
URL:
Keywords:
Depends on:
Blocks: 155841
  Show dependency tree
 
Reported: 2009-02-11 04:31 UTC by shche123
Modified: 2009-04-20 10:54 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 shche123 2009-02-11 04:31:59 UTC
want:
=====

var squares = for (i in [1..10]) i*i; 

var capitalDays = for (day in days) day.toUpperCase(); 

get:
----
var squares = 
for (i in [1..10]) 
i * i; 

var capitalDays = 
for (day in days) 
day.toUpperCase();
Comment 1 Rastislav Komara 2009-03-02 10:12:02 UTC
reassigning to new owner.
Comment 2 Anton Chechel 2009-03-19 18:26:32 UTC
fixed, old reformat has been disabled
Comment 3 Alexandr Scherbatiy 2009-04-20 10:54:54 UTC
verified