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 103920 - Nested annotations not well formatted
Summary: Nested annotations not well formatted
Status: RESOLVED WONTFIX
Alias: None
Product: java
Classification: Unclassified
Component: Source (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Jan Lahoda
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-05-14 15:06 UTC by Erno Mononen
Modified: 2009-11-02 11:02 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Erno Mononen 2007-05-14 15:06:59 UTC
build 20070513

When generating nested annotations everything is generated on one line, whereas 
IMO it would be better to generate each nested annotation on a separate line 
(as in 5.5). For example, generating entities from DB with named queries 
generates @NamedQueries usually nested with several @NamedQuery annotations so 
that without new lines the annotation might be hundreds of lines long.

Also, at least with the default settings the reformat action does not add new 
lines to such annotations and it doesn't seem to be possible to configure it to 
do so.
Comment 1 Jan Becicka 2008-11-13 10:15:11 UTC
Will resolve later.
Comment 2 Quality Engineering 2009-11-02 11:02:15 UTC
NetBeans.org Migration: changing resolution from LATER to WONTFIX