Prettier plugin for Espresso 5
Select Text > Prettier > Format Code or choose from the Actions dropdown to format your code using Prettier. If you don't want to affect the entire document, you can make one or multiple text selections before performing the action.
This plugin uses Prettier's default configuration and honors your Espresso settings regarding tabs and line endings.
If your project has an
.editorconfig file, Prettier will use those settings instead of your Espresso settings. You can override the .editorconfig settings by using a custom configuration file.
To use your own custom configuration, you can configure Prettier via:
.prettierrcfile, written in YAML or JSON, with optional extensions:
prettier.config.jsfile that exports an object.
"prettier"key in your
The configuration file will be resolved starting from the location of the file being formatted, and searching up the file tree until a config file is found.
- Download and extract the zip
- Double-click the Prettier.espressoplugin file to install