Skip to content
| Marketplace
Sign in
Visual Studio Code>Formatters>Trim / Delete Empty RowsNew to Visual Studio Code? Get it now.
Trim / Delete Empty Rows

Trim / Delete Empty Rows

Blackmedusa

|
140 installs
| (0) | Free
Easily remove all empty lines from your code with a single keyboard shortcut or command! This extension helps streamline your workflow by quickly cleaning up files and making your code look tidy.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Trim / Delete Empty Rows

This Visual Studio Code extension helps you quickly remove all empty rows from your code or text files with a single command or keyboard shortcut.

Features

  • Removes all empty rows, including those containing only whitespace.
  • Keyboard shortcut: Ctrl + Alt + T for quick cleanup.
  • Command available in the Command Palette: Trim/Delete Empty Rows.
  • Works with all file types in Visual Studio Code.

How to Use

  1. Open any file in Visual Studio Code.
  2. Press Ctrl + Alt + T to remove all empty rows.
  3. Alternatively, open the Command Palette (Ctrl + Shift + P), search for Trim/Delete Empty Rows, and execute the command.

Installation

  1. Open Visual Studio Code.
  2. Navigate to the Extensions Marketplace.
  3. Search for "Trim / Delete Empty Rows" and click Install.
  4. Start using the extension immediately!

Support

For issues or feedback, please contact us via the GitHub repository.

Enjoy a cleaner, tidier file with minimal effort!

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft