You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "Monkey (Jira)" <ji...@apache.org> on 2020/12/20 23:49:00 UTC

[jira] [Updated] (NETBEANS-705) Disable cut/copy line when no selection is made works no more

     [ https://issues.apache.org/jira/browse/NETBEANS-705?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Monkey updated NETBEANS-705:
----------------------------
    Affects Version/s:     (was: 8.2)
                       12.1
          Description: 
Edit: it works in NB 12: -J-Dorg.netbeans.editor.disable.no.selection.copy=true

 

 

 

 

 

 

  was:
NB supports cut/copy line when no selection is made which is rather controversial as it may lead to inadvertent edits. IntelliJ has a way of disabling that feature called "most-viewed intellij issue as no sane dev on earth wants to copy emptiness and yet the solution is held out of reach" at [https://stackoverflow.com/questions/32895522/disable-copying-entire-line-when-nothing-is-selected-in-intellij] (it was not me who said this and probably it was not said too seriously but it shows well how much the feature is controversial).

There is a guy at [https://netbeans.org/bugzilla/show_bug.cgi?id=192613] which gives an answer in the style which I have heard several times from some "late NB" devs:

    I am sorry you hate it but there are users who love it. There is no plan to change it.

Yet NB could disable the behavior by adding a parameter -J-Dorg.netbeans.editor.disable.no.selection.copy=true (works no more).

 

 

 

 


> Disable cut/copy line when no selection is made works no more
> -------------------------------------------------------------
>
>                 Key: NETBEANS-705
>                 URL: https://issues.apache.org/jira/browse/NETBEANS-705
>             Project: NetBeans
>          Issue Type: Bug
>          Components: editor - Key bindings
>    Affects Versions: 12.1
>            Reporter: Monkey
>            Priority: Major
>
> Edit: it works in NB 12: -J-Dorg.netbeans.editor.disable.no.selection.copy=true
>  
>  
>  
>  
>  
>  



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