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

Summary: Nested annotations not well formatted
Product: java Reporter: Erno Mononen <emononen>
Component: SourceAssignee: Jan Lahoda <jlahoda>
Status: RESOLVED WONTFIX    
Severity: blocker    
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

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