Brackets Extension to format files using Prettier.
To install the latest release of this extension use the built-in Brackets Extension Manager which downloads the extension from the Brackets Extension Registry.
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
The latest release of this extension is also available on the Brackets npm Registry.
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).
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.
Brackets Detect Indentation is licensed under the MIT license.
Prettier itself is also licensed under the MIT license.