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

Summary: Reformat doesn't work well
Product: javafx Reporter: Lark Fitzgerald <lfitzgerald>
Component: EditorAssignee: Rastislav Komara <moonko>
Status: VERIFIED FIXED    
Severity: blocker    
Priority: P3    
Version: 6.x   
Hardware: All   
OS: Windows XP   
Issue Type: DEFECT Exception Reporter:
Bug Depends on: 132764    
Bug Blocks:    
Attachments: Initial clock.fx copied from twiki page
clock source after right click > Format
clock source after manual formatting

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