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

More VS Code tasks

Back to the full VS Code Shortcuts cheat sheet