Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Many To OneNew to Visual Studio Code? Get it now.
Many To One

Many To One

Ganesh Kumar M

|
273 installs
| (1) | Free
Convert multiple continous spaces into a single space
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Many To One

Convert continuous multiple spaces into a single space

Example

Let's say you have the below text

Dirty Text

This extension helps to remove multiple continuous spaces and convert it to single space. Also, removes unwanted leading and trailing spaces.

Run Extension

  • Press CTRL + SHIFT + P (Windows) or CMD + SHIFT + P (Mac & Linux)
  • Type Many To One and press Enter
  • Now multiple spaces will be converted to single spaces

Dirty Text

Apply Extension

Clean Text

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