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 192629 - Improve formatting of spaces for annotations
Summary: Improve formatting of spaces for annotations
Alias: None
Product: java
Classification: Unclassified
Component: Editor (show other bugs)
Version: 7.0
Hardware: PC Linux
: P3 normal (vote)
Assignee: Dusan Balek
Keywords: PLAN
Depends on:
Reported: 2010-11-29 10:49 UTC by Tomas Mysik
Modified: 2012-02-22 11:02 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Note You need to log in before you can comment on or make changes to this bug.
Description Tomas Mysik 2010-11-29 10:49:26 UTC
If one uses spaces around "=", there's no way to specify "no spaces" for annotations (this is pretty common).

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)
Comment 1 Tomas Mysik 2010-12-17 10:00:32 UTC
Sorry, changing to defect because formatting is quite unusable in model classes (JPA, @Column etc. annotations).

Comment 2 Dusan Balek 2012-02-21 12:49:10 UTC
Fixed in jet-main.
Comment 3 Quality Engineering 2012-02-22 11:02:49 UTC
Integrated into 'main-golden', will be available in build *201202220400* on (upload may still be in progress)
User: Dusan Balek <>
Log: Minor Java formatting improvements (see issues #131227, #192629).