Question

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.

Was it helpful?

Solution

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.

OTHER TIPS

Press Ctrl + x, or Ctrl + e while your cursor on the line to be deleted.

The command will delete the line and place the cursor to the starting of next line.

For Mac command it is command+e.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top