Delete Line in VS Code
From the VS Code Shortcuts cheat sheet Ā· Editing Ā· verified Jul 2026
Delete Line
Delete entire current line
text
Ctrl+Shift+K (Windows)
ā+Shift+K (Mac)š” Remove entire line regardless of cursor position
ā” Works with multiple line selections
š No need to select the whole line
editing