Skip to content

Latest commit

 

History

History
30 lines (17 loc) · 771 Bytes

README.md

File metadata and controls

30 lines (17 loc) · 771 Bytes

Handlebars Formatter

This extension allow you to format handlebars files using the currently unreleased Prettier glimmer parser

Because it uses unreleased, it may break with future changes to Prettier.

Props to handlebars-formatter which gave me the base repo for this extension

Features

Format your handlebars files with Prettier ... while also respecting your .prettierrc file

Before

before

After

after

Usage

Using Command Palette (CMD/CTRL + Shift + P)

CMD + Shift + P -> Format Document OR CMD + Shift + P -> Format Selection

Extension Settings

This extension has no user configurable options at this point