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.
If one uses spaces around "=", there's no way to specify "no spaces" for annotations (this is pretty common). Example: @Test(a=1) class Test { private a = 1; } Maybe this could be considered as a bug so it can be fixed for NB 7.0 FCS ? ;) Thanks a lot, Dušane! Product Version: NetBeans IDE 7.0 Beta (Build 201011152355) Java: 1.6.0_22; Java HotSpot(TM) 64-Bit Server VM 17.1-b03 System: Linux version 2.6.36-bfs running on amd64; UTF-8; cs_CZ (nb)
Sorry, changing to defect because formatting is quite unusable in model classes (JPA, @Column etc. annotations). Thanks.
Fixed in jet-main. http://hg.netbeans.org/jet-main/rev/4849ddcb0167
Integrated into 'main-golden', will be available in build *201202220400* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/4849ddcb0167 User: Dusan Balek <dbalek@netbeans.org> Log: Minor Java formatting improvements (see issues #131227, #192629).