Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>Pretty FormatterNew to Visual Studio Code? Get it now.

Pretty Formatter

mblode

|
211,415 installs
| (13) | Free
VS Code extension to format your code using Pretty Diff
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info
VS Code Pretty Format

VS Code Pretty Formatter

VS Code extension to format your files using Pretty Diff

Version Installs Ratings

Is Pretty Formatter for you?

Pretty Formatter VS Code extension provides advanced formatting functionality using Pretty Diff (http://prettydiff.com/) beautify with support for a large variety of programming languages. You can customise all different settings and a rules while adding the best in class formatting support for all these languages that VS Code can't normally format.

Supported programming languages

Markup

  • Apache Velocity
  • ASP Inline Expression
  • CFML (ColdFusion Markup Language)
  • Django Inline HTML
  • Dust.js
  • EEX Elixir Templates
  • EJS (Embedded JavaScript) Templates
  • ERB (Embedded Ruby)
  • FreeMarker
  • Genshi
  • Handlebars
  • HTL (HTML Templating Language)
  • HTML
  • Jekyll
  • Jinja
  • JSTL (Java Standard Tag Library)
  • Liquid
  • Mustache
  • Nunjucks
  • SGML
  • SilverStripe
  • Spacebars templates
  • ThymeLeaf
  • Underscore Templates (TPL)
  • Twig
  • Vapor Leaf
  • Vash
  • Volt
  • XML
  • XSLT

Script

  • Flow
  • JavaScript / ECMAScript
  • JSON
  • QML
  • React JSX
  • styled-components
  • styled-jsx
  • TSS (Titanium Style Sheets)
  • TSX
  • TypeScript

Style

  • CSS
  • LESS
  • PostCSS
  • SCSS (Sass)

45 total languages

Installation

Install through Visual Studio Code extensions. Search for Pretty Formatter

Visual Studio Code Market Place: Pretty Formatter

How to use

Launch VS Code. Open the Command Palette (Ctrl+Shift+P) and type 'format document' while the file is open.

Creators

Matthew Blode

  • GitHub
  • CodePen

License

MIT © Matthew Blode

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