Skærmbilleder

Beskrivelse

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.