[
https://issues.apache.org/jira/browse/NETBEANS-4725?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Niklas Matthies updated NETBEANS-4725:
--------------------------------------
Description:
Code completion within a rectangular selection replaces everything between the
upper left and lower right corners of the selection, including the complete
lines in between. The expected behavior would be to only replace the
rectangular selection, and to insert the completion for each line of the
selection, 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.
was:
Code completion within a rectangular selection replaces everything between the
upper left and lower right corners of the selection, including the complete
lines in between. 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.
> 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
> Priority: Minor
>
> Code completion within a rectangular selection replaces everything between
> the upper left and lower right corners of the selection, including the
> complete lines in between. The expected behavior would be to only replace the
> rectangular selection, and to insert the completion for each line of the
> selection, 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: [email protected]
For additional commands, e-mail: [email protected]
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists