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

AutoTrim

Nathan Ridley

|
28,301 installs
| (8) | Free
Automatically trims trailing whitespace when moving the cursor from one line to another
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

AutoTrim: VS Code Extension

Trailing whitespace often exists after editing lines of code, deleting trailing words and so forth. This extension tracks the line numbers where a cursor is active, and removes trailing tabs and spaces from those lines when they no longer have an active cursor. As such, edits in the file are kept to a minimum, and not applied until a line is no longer being edited.

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