6

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)

underscore666
  • 1,719
  • 4
  • 24
  • 37

3 Answers3

7

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.

muneebShabbir
  • 2,500
  • 4
  • 29
  • 46
7

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.

Ciprian
  • 3,066
  • 9
  • 62
  • 98
3

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

Arun
  • 3,640
  • 7
  • 44
  • 87