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 130720 - Reformat doesn't work well
Summary: Reformat doesn't work well
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: Rastislav Komara
URL:
Keywords:
Depends on: 132764
Blocks:
  Show dependency tree
 
Reported: 2008-03-20 21:22 UTC by Lark Fitzgerald
Modified: 2008-07-02 12:39 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Initial clock.fx copied from twiki page (2.22 KB, text/plain)
2008-03-20 21:23 UTC, Lark Fitzgerald
Details
clock source after right click > Format (2.26 KB, text/plain)
2008-03-20 21:24 UTC, Lark Fitzgerald
Details
clock source after manual formatting (2.48 KB, text/plain)
2008-03-20 21:25 UTC, Lark Fitzgerald
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Lark Fitzgerald 2008-03-20 21:22:56 UTC
Product Version: NetBeans IDE Dev (Build 200803191206)
Java: 1.6.0_03; Java HotSpot(TM) Client VM 1.6.0_03-b05
System: Windows Vista version 6.0 running on x86; Cp1252; en_US (nb)

Plugin: CB#112 (2008-03-19_19-05-59)

1. copy/paste the contents from the attached clock.fx file into a fx plugin Main.fx file
It ends up all in one line.
2. right click > Format
I end up with clockPostForm.fx

I was expecting something closer to clockManForm.fx
Comment 1 Lark Fitzgerald 2008-03-20 21:23:45 UTC
Created attachment 58795 [details]
Initial clock.fx copied from twiki page
Comment 2 Lark Fitzgerald 2008-03-20 21:24:44 UTC
Created attachment 58796 [details]
clock source after right click > Format
Comment 3 Lark Fitzgerald 2008-03-20 21:25:21 UTC
Created attachment 58797 [details]
clock source after manual formatting
Comment 4 Alexandr Scherbatiy 2008-03-21 10:43:53 UTC
see also issue 121571 Format Code breaks line after operation modifier declaration
Comment 5 Rastislav Komara 2008-04-16 14:50:15 UTC
This is problem of reformat. The first extreme has been eliminated but we will need to wait for reformat.
Comment 6 Rastislav Komara 2008-04-22 17:02:17 UTC
update schedule.
Comment 7 Rastislav Komara 2008-06-27 13:52:44 UTC
Reformat works better then ever. Please file problems as separate issues (bug or enhancement).
Comment 8 Alexandr Scherbatiy 2008-07-02 12:39:32 UTC
verified