@phoenix-plugin-registry/hirse.brackets-prettier

Format Files using Prettier

Usage no npm install needed!

<script type="module">
  import phoenixPluginRegistryHirseBracketsPrettier from 'https://cdn.skypack.dev/@phoenix-plugin-registry/hirse.brackets-prettier';
</script>

README

npm Version Build Status

Brackets

Prettier

Brackets Prettier

Brackets Extension to format files using Prettier.

Brackets Prettier Button

Installation

Latest Release

To install the latest release of this extension use the built-in Brackets Extension Manager which downloads the extension from the Brackets Extension Registry.

Latest Commit

To install the latest commit of this extension use the built-in Brackets Extension Manager which has a function to Install from URL... using this link:

https://github.com/Hirse/brackets-prettier/archive/master.zip

Brackets npm Registry

The latest release of this extension is also available on the Brackets npm Registry.

Usage

Use the Toolbar Button with the prettier icon, the menu entry Edit > Format File with Prettier, or the keyboard shortcut Ctrl-Alt-F (Cmd-Shift-F on Mac).

Configuration

This extension reads indentation settings from Brackets and otherwise relies on Prettier to determine the configuration itself. Prettier options can be set in a configuration file in the project folder.

License

Brackets Detect Indentation is licensed under the MIT license.
Prettier itself is also licensed under the MIT license.