underscore666
underscore666

Reputation: 1739

A quick way to select a line in netBeans

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

Answers (3)

Arun
Arun

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

Ciprian
Ciprian

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

muneebShabbir
muneebShabbir

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

Related Questions