Skip to content
| Marketplace
Sign in
Visual Studio Code>Formatters>inifmt - formatter for .ini files, plain text and moreNew to Visual Studio Code? Get it now.
inifmt - formatter for .ini files, plain text and more

inifmt - formatter for .ini files, plain text and more

Luke Arms

|
153,781 installs
| (0) | Free
Trim and squeeze spaces and empty lines
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

inifmt

Trim and squeeze spaces and empty lines

Features

  • Removes leading and trailing spaces from each line
  • Replaces two or more consecutive spaces with one, unless they appear between double or single quotes on a single line
  • Replaces two or more consecutive empty lines with one
  • Aligns comments, which can start with # or ;
  • Ignores tabs

Requirements

awk must be installed locally.

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