Skip to content
| Marketplace
Sign in
Visual Studio Code>Formatters>log-formatterNew to Visual Studio Code? Get it now.
log-formatter

log-formatter

log-formatter

|
18,174 installs
| (2) | Free
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

log-formatter

A minimal VSCode Extension sample that provides document formatting via Language Server. It will find json and xml objects in a .log or .txt file, and format it into human-readable format

Run

  • works with .log and .txt files
  • goto configure language base setting and set "editor.defaultFormatter": "log-formatter.log-formatter"
  • Run format document will perform the format

reversion

  • 1.0.3 improve xml parse, support multiple root node
  • 1.0.5 improve xml parse, not reformat and escape well
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft