Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Remove whitespaceNew to Visual Studio Code? Get it now.
Remove whitespace

Remove whitespace

Joel Castro

|
2,930 installs
| (0) | Free
Leaves only minimum necessary whitespace for Flutter to work
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Remove Whitespace VSCode Extension

This is a Visual Studio Code extension that removes unnecessary whitespace from your code.

Features

  • Removes multiple spaces between words
  • Removes spaces before and after parentheses
  • Removes spaces before and after brackets
  • Removes spaces before and after commas
  • Removes spaces before and after colons
  • Removes spaces before and after semicolons
  • Removes spaces before and after equals signs
  • Removes empty lines

How to Use

  1. Install the extension from the Visual Studio Code marketplace.
  2. Open the command palette (Ctrl+Shift+P or Cmd+Shift+P on Mac) and type "Remove Whitespace".
  3. Select the "Remove Whitespace" command to clean up your currently active file.

Contributing

If you have suggestions for how Remove Whitespace could be improved, or want to report a bug, open an issue! We'd love all and any contributions.

For more, check out the Contributing Guide.

License

MIT © [Joel Castro]

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