This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
[ BUILD # : 201005050200 ] [ JDK VERSION : 1.6.* ] If nothing is selected in editor text area, context-menu->Copy should copy the whole file to clipboard, to paste it to a node in the project/file/favourites browser. (otherwise, "Copy" should be disabled) Additionally there should be a "Copy" item in the editor tab menu.
Enabled "copy" item in the context menu is a defect, if there is nothing to copy. So disable it, or interpret is as "copy the whole file".
It copies the current line (ie. the line where the caret stands).
(In reply to comment #2) > It copies the current line (ie. the line where the caret stands). Maybe the label then should be changed to "Copy Line".
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue. Thanks for your cooperation, NetBeans IDE 8.2 Release Boss