You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "Niklas Matthies (Jira)" <ji...@apache.org> on 2020/08/19 17:05:00 UTC

[jira] [Created] (NETBEANS-4725) Code completion does not respect rectangular selection

Niklas Matthies created NETBEANS-4725:
-----------------------------------------

             Summary: Code completion does not respect rectangular selection
                 Key: NETBEANS-4725
                 URL: https://issues.apache.org/jira/browse/NETBEANS-4725
             Project: NetBeans
          Issue Type: Bug
          Components: java - Editor
    Affects Versions: 12.0
            Reporter: Niklas Matthies


Code completion within a rectangular selection replaces everything between upper left and lower right corners of the selection. The expected behavior would be to only replace the rectangular selection, and to insert the completion for each line of the completion, in the same ways that Paste works in a rectangular selection.

Example use case: An array of array initializers with aligned elements, or multiple lines of function calls with aligned arguments, where you want to replace (or insert) one column with the result of a code completion, for example a static constant.

 



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