Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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)

like image 826
underscore666 Avatar asked May 15 '12 12:05

underscore666


2 Answers

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.

like image 55
Ciprian Avatar answered Sep 26 '22 23:09

Ciprian


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.

like image 34
muneebShabbir Avatar answered Sep 22 '22 23:09

muneebShabbir