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

Continue with VS Code Shortcuts

Save the full cheat sheet or work through every related task.

More VS Code tasks

Back to the full VS Code Shortcuts cheat sheet