You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "Zdeněk Machač (Jira)" <ji...@apache.org> on 2019/12/13 12:15:00 UTC

[jira] [Created] (NETBEANS-3589) Inserting multiline string from clipboard into other string (between "...") in Java Editor does not follow the format settings

Zdeněk Machač created NETBEANS-3589:
---------------------------------------

             Summary: Inserting multiline string from clipboard into other string (between "...") in Java Editor does not follow the format settings
                 Key: NETBEANS-3589
                 URL: https://issues.apache.org/jira/browse/NETBEANS-3589
             Project: NetBeans
          Issue Type: Bug
    Affects Versions: 8.2, 11.2
            Reporter: Zdeněk Machač


Default format settings for operators in Java editor is on beginning of line. Rule is used e.g. for operator '+' on Strings - if Java code is reformatted or if string token is splitten to more lines by Enter key.

But if you paste multiline string from clipboard into other string token (between "...") then operator '+' are generated on end of lines.

In JDK 13 are multiline strings supported in another way but in JDK 8 or when appending variable value still need long strings splitted on multiple lines.

Best regards ZM



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
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