Delete line

IntelliJ IDEA keyboard shortcut

Ctrl + Y

Press Ctrl + Y to delete line.

Practice this shortcut All IntelliJ IDEA shortcuts