Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Fix Irregular WhitespaceNew to Visual Studio Code? Get it now.

Fix Irregular Whitespace

karlito40

|
7,836 installs
| (1) | Free
Replace all non breaking space with a normal space.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Fix Irregular Whitespace

Replace all irregular whitespaces from your code with a normal space.

Features

  • Automatically replace irregular spaces at save time
  • Add a "Fix irregular whitespace in current file" command to replace all irregular spaces at will
  • Add a "Fix irregular whitespace in workspace" command to replace all irregular spaces inside a workspace. (It will rewrite and save your file not currently open in your editor and just update the active ones without saving them)

List of Irregular spaces

Handle all the irregular whitespaces from the Eslint no-irregular-whitespace rule.

https://eslint.org/docs/rules/no-irregular-whitespace

Mention

For more details about the irregular whitespaces, and a visual usage of the extension! You can check the following article:

https://allalmohamedlamine.medium.com/fixing-and-removing-irregular-spaces-984389e17132

Release Notes

0.1.0

Add support to all irregular whitespaces listed in eslint no-irregular-whitespace rule, as per https://eslint.org/docs/rules/no-irregular-whitespace

0.0.1

Initial release

Contributors

  • Contact us
  • Jobs
  • Privacy
  • Terms of use
  • Trademarks
© 2023 Microsoft