Skip to content
| Marketplace
Sign in
Visual Studio Code>Formatters>RemoveBlankNew to Visual Studio Code? Get it now.
RemoveBlank

RemoveBlank

CK

|
38 installs
| (0) | Free
Continuous blank lines are deleted when saving the document.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

RemoveBlank for vscode

Continuous blank lines are deleted when saving the document.

How to use

  • install.

  • It is executed automatically when saving.


Behavior

- Replace continuous blank lines with selected type.

- from: (^(?([^\r\n])\s)*\r?\n){2,}
- to : document.eol ( or \r\n or \n or \r)

on save.


Settings

change [replace to] type at setting panel.

Options include:

  • "EOL" (default) : same as document.
  • "\r\n"
  • "\n"
  • "\r"

links to Visual Studio Marketplace

for Visual Studio Code

🔗 RemoveBlank for Visual Studio Code

for Visual Studio 2022

🔗 RemoveBlank for Visual Studio

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