Select, copy or cut the current line in Netbeans

Jannie Theunissen picture Jannie Theunissen · Nov 26, 2009 · Viewed 58.6k times · Source

In Netbeans I find keyboard shortcuts that deal with the current line of code very helpful, like:

  • Ctrl + Shift + : duplicate

  • Shift + Alt + : move

  • Ctrl + E : delete

Is there a shortcut for selecting, cutting or copying the current line of code? I've looked through many cheat sheets and thought I'll ask here before attempting a macro.

Answer

yihtserns picture yihtserns · Dec 21, 2011

Cutting current line: Ctrl + X
Selecting + copying current line: Ctrl + C
Yes, this actually works, but only when no current selection is active