Skip to content
| Marketplace
Sign in
Visual Studio Code>Formatters>Format Line Ending AuditNew to Visual Studio Code? Get it now.
Format Line Ending Audit

Format Line Ending Audit

VaultOps

|
7 installs
| (0) | Free
Reports mixed LF/CRLF files and helps teams avoid noisy formatting diffs.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Format Line Ending Audit

Reports mixed LF/CRLF files and helps teams avoid noisy formatting diffs.

Archetype: formatting.guard (formatting)

Usage

Use the Command Palette (Ctrl/Cmd+Shift+P) and run the commands listed below.

Command surface

  • format-line-ending-audit.trimWhitespace - Trim trailing whitespace: Normalize trailing whitespace and ensure trailing newline.
  • format-line-ending-audit.auditLineEndings - Audit line endings: Report mixed CRLF/LF line endings in the active file.

Policy checks

  • Trailing whitespace normalization
  • Mixed line-ending detection
  • Manual command-driven fixes

Rollout advice

Introduce this archetype before enabling stricter repository lint rules to keep contributor experience smooth.

Local development

npm install
npm run build
npm test

Use F5 in VS Code to launch an Extension Development Host.

Packaging

npm run package

Module notes

  • UI settings are exposed in workspace settings under this extension namespace.
  • Local run metadata uses ExtensionContext.globalState only.
  • Analytics is local-only and disabled unless FOF_ANALYTICS_OPT_IN=true.

Marketplace submission notes

  • Set a real publisher in package.json.
  • Replace placeholder assets in assets/ (icon + screenshots).
  • Upload .vsix or release source archive from dist-submission/.

Support

For support, contact support@example.com.

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