You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "Antonio Marques (JIRA)" <ji...@apache.org> on 2018/08/30 18:15:00 UTC
[jira] [Created] (NETBEANS-1199) Unwanted wrapping after annotation
if before type
Antonio Marques created NETBEANS-1199:
-----------------------------------------
Summary: Unwanted wrapping after annotation if before type
Key: NETBEANS-1199
URL: https://issues.apache.org/jira/browse/NETBEANS-1199
Project: NetBeans
Issue Type: Bug
Components: editor - Formatting & Indentation
Affects Versions: 8.2
Reporter: Antonio Marques
* Go to *Preferences \ Editor \ Formatting \ Java \ Wrapping*
* Select *Annotations: {color:#FF0000}Never{color}*
* Go to a file with a line like
{{ public @Nullable String middleName;}}
* Format either the line or the file
* The line becomes split:{{}}
{{ public @Nullable}}
{{ }}{{String middleName;}}
* If the annotation is before public rather than String, then the newline isn't inserted.
This may look minor, but requires having our source not the way we want to, so it's quite annoying.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists