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.
Then follow these steps: Make sure you're in the Formatting Tab. Change the Language to "All Languages" Change the Right Margin to 0.
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.
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.
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.
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With