Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

A quick way to delete a line in netBeans

I am looking for a quick way to delete a line in netBeans.

For example in vim you can just type dd for Deleting a line.

like image 781
underscore666 Avatar asked May 15 '12 08:05

underscore666


People also ask

How do I remove a horizontal line in NetBeans?

Then follow these steps: Make sure you're in the Formatting Tab. Change the Language to "All Languages" Change the Right Margin to 0.

How do I select a line in NetBeans?

Most GUIs, including Netbeans, allow you to select a word by double-clicking on it and an entire line by triple-clicking on it. selection-end-line (Shift+End) selection-down (SHift+Down) for as many lines as you want.

How go to end of line in NetBeans?

Go to Tools : Options : Keymap and search for "Insertion Point to End of Line" which mysteriously defaults to the End key. ;) You should be able to reassign any other shortcut to it.

What is safely delete in NetBeans?

The IDE's Safely Delete command can help you with the process of removing unused code, saving you cycles of manual searches and compilation attempts.


1 Answers

Does Ctrl-E not work for you? This is the default short-cut in NetBeans on a Windows machine.

If you click on Help you can get the keyboard shortcuts card, print it out, it's pretty handy and has saved me quite a bit of time hunting for easier ways to do things.

like image 89
Ewald Avatar answered Sep 19 '22 11:09

Ewald