Prettier Chrome Extension

#4 / 2 rate

Prettier Chrome Extension

1,000 users

2017-03-23

Unknown

Extension Information

5 star
50%
4 star
0%
3 star
50%
2 star
0%
1 star
0%

Supported Languages

Permissions

Description

prettier chrome extension

Format your JavaScript code using the Prettier library on any editable element (`textarea` and `input[type=text]`, for now).


sebmarkbage(https://twitter.com/sebmarkbage/status/843866641515536384) had an idea for a tool that will format your JavaScript code that is not in your code editor/IDE. This is the implementation I came up with.

Usage

1. Install
2. Ensure your code fences are defined as JS blocks (```js var abc = 123; ```)
3. Format your code via a handy context menu.

Options

All the options that are defined in Prettier API are available to be set using the extensions options page.