Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>empty linesNew to Visual Studio Code? Get it now.
empty lines

empty lines

SvenBoertjens

|
866 installs
| (1) | Free
Keeps your code clean by ensuring there's not more than 1 line of code in between, and 2 lines of code at the end of your file (numbers are configurable). Does not format the currently focused empty code.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

empty lines

Hey there. This is my empty lines extension to handle empty lines in your code.

It's a relatively simple extension. It does two things:

  1. Ensure there's a maximum of x empty lines in between code, and
  2. Ensure there's y empty lines at the end of your code.

Documentation about the source code can be found in comments across the code.

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