[ https://issues.apache.org/jira/browse/NETBEANS-795?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Laszlo Kishalmi resolved NETBEANS-795. -------------------------------------- Resolution: Fixed Fix Version/s: 9.0 Please doubleckeck that you can reproduce this with recent 9.0. I checked the codechange mentioned in the mentioned issue. It's in the 9.0 codebase, and I could not reproduce using the sample code. > Incorrect auto formatting for nested Java annotations > ----------------------------------------------------- > > Key: NETBEANS-795 > URL: https://issues.apache.org/jira/browse/NETBEANS-795 > Project: NetBeans > Issue Type: Bug > Components: editor - Completion & Templates, editor - Formatting > & Indentation > Affects Versions: 8.2 > Environment: Windows, Ubuntu > Reporter: Chris Carver > Priority: Minor > Labels: easyfix, patch > Fix For: 9.0 > > > When On Save auto formatting is enabled for Java, nested Java annotations > with parameters are incorrectly formatted. An unnecessary newline is given to > comma's. > For example: > {code:java} > @JsonSubTypes({ > @JsonSubTypes.Type(value = Test.class, name = "Test"), > @JsonSubTypes.Type(value = Test1.class, name = "Test1"), > @JsonSubTypes.Type(value = Test2.class, name = "Test2"), > @JsonSubTypes.Type(value = Test3.class, name = "Test3") > }) > {code} > Will save as: > {code:java} > @JsonSubTypes({ > @JsonSubTypes.Type(value = Test.class, name = "Test") > , > @JsonSubTypes.Type(value = Test1.class, name = "Test1") > , > @JsonSubTypes.Type(value = Test2.class, name = "Test2") > , > @JsonSubTypes.Type(value = Test3.class, name = "Test3") > }) > {code} > In the old NetBeans bug tracker, it appears [the issue was marked as > resolved|https://netbeans.org/bugzilla/show_bug.cgi?id=268247] in May of 2017 > but it is stillĀ presentĀ in the latest 8.2 release. -- This message was sent by Atlassian JIRA (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists