Reputation: 1739
I am looking for a quick way to select a line in netBeans.
For example for copy and paste. (in vim editor yy
yank current line)
Upvotes: 6
Views: 7593
Reputation: 3721
I am late comer to this post, but with a solution. In netbeans 8.x
, go to Tools -> Options -> Keymap. In that, search for Select Line
. You will get an entry there. Under the field Shortcut
, you can give your convenient shortcut. There is no shortcut by default
Upvotes: 3
Reputation: 3226
I've been using Netbeans for a few months.
Ctrl + c
will copy the entire line without selecting it.
Ctrl + e
will delete the line without selecting it.
Ctrl + Shift + down or up
arrows will duplicate the line.
Upvotes: 8
Reputation: 2538
Most GUIs, including Netbeans, allow you to select a word by double-clicking on it and an entire line by triple-clicking on it.
OR
selection-end-line (Shift+End) selection-down (SHift+Down) for as many lines as you want.
Upvotes: 7