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.
Formatting of java file does not work Product Version: NetBeans IDE Dev (Build 201309090001) Java: 1.8.0-ea; Java HotSpot(TM) 64-Bit Server VM 25.0-b40 Runtime: Java(TM) SE Runtime Environment 1.8.0-ea-b98 System: Windows 7 version 6.1 running on amd64; Cp1250; en_US (nb) User directory: C:\Users\jprox\AppData\Roaming\NetBeans\dev Cache directory: C:\Users\jprox\AppData\Local\NetBeans\Cache\dev
Unfortunately it is reproducible in 74release branch!
Unfortunately, I cannot reproduce the problem - tested on: Product Version: NetBeans IDE Dev (Build 201309090001) Java: 1.7.0_25; Java HotSpot(TM) 64-Bit Server VM 23.25-b01 Runtime: Java(TM) SE Runtime Environment 1.7.0_25-b15 System: Linux version 2.6.34-12-desktop running on amd64; UTF-8; en_US (nb) Could you please try to reproduce the problem on a different JDK than 1.8.0-ea? Also, could you please try to invoke the action via 'Source -> Format' (just to make sure the 'Alt+Shift+F' shortcut is working correctly). Thanks.
I can reproduce it on Product Version: NetBeans IDE 7.4 RC1 (Build 201309040918) Java: 1.7.0_40; Java HotSpot(TM) 64-Bit Server VM 24.0-b55 Runtime: Java(TM) SE Runtime Environment 1.7.0_40-b39 System: Windows 7 version 6.1 running on amd64; Cp1250; en_US (nb) User directory: C:\Users\jprox\AppData\Roaming\NetBeans\7.4rc1 Cache directory: C:\Users\jprox\AppData\Local\NetBeans\Cache\7.4rc1 I've tried both types of invocation - shortcut and menu item But I happens only for the first time IDE is started with fresh userdir, after restart the action works correctly (it does not matter it IDE was installed or only unzipped)
In all cases there is no exception in the log Reopening the file does not help, restart of IDE is needed to make it work
Fixed in jet-main. http://hg.netbeans.org/jet-main/rev/a200059c87a8
Integrated into 'main-silver', will be available in build *201309100337* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/a200059c87a8 User: Dusan Balek <dbalek@netbeans.org> Log: Issue #235679: Format does not work - fixed.
verified in trunk
Seems good to me.
Integrated into release74. http://hg.netbeans.org/releases/rev/0aa9ffb3e395
verified in 7.4 rc1