A quick way to delete a line in netBeans
-
09-06-2021 - |
سؤال
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.
المحلول
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.
نصائح أخرى
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.
لا تنتمي إلى StackOverflow