Delete the line

VS Code keyboard shortcut

Ctrl + Shift + K

Press Ctrl + Shift + K to delete the line.

Practice this shortcut All VS Code shortcuts