IntelliJ IDEA keyboard shortcut
Press Ctrl + Y to delete line.
Practice this shortcut All IntelliJ IDEA shortcuts