Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/mblode/vscode-pretty-formatter

VS Code extension to format your files using Pretty Diff
https://github.com/mblode/vscode-pretty-formatter

Last synced: 16 days ago
JSON representation

VS Code extension to format your files using Pretty Diff

Awesome Lists containing this project

README

        


VS Code Pretty Format

# VS Code Pretty Formatter

**VS Code extension to format your files using [Pretty Diff](https://prettydiff.com/)**

[![Version](https://vsmarketplacebadge.apphb.com/version-short/mblode.pretty-formatter.svg)](https://marketplace.visualstudio.com/items?itemName=mblode.pretty-formatter)
[![Installs](https://vsmarketplacebadge.apphb.com/installs-short/mblode.pretty-formatter.svg)](https://marketplace.visualstudio.com/items?itemName=mblode.pretty-formatter)
[![Ratings](https://vsmarketplacebadge.apphb.com/rating-short/mblode.pretty-formatter.svg)](https://marketplace.visualstudio.com/items?itemName=mblode.pretty-formatter)

## Is Pretty Formatter for you?

Pretty Formatter VS Code extension provides advanced formatting functionality using Pretty Diff () 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](https://marketplace.visualstudio.com/items?itemName=mblode.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](https://github.com/mblode)
* [CodePen](https://codepen.io/mblode)

## License

MIT © [Matthew Blode](http://matthewblode.com)