This plugin adds support for dprint, a flexible and extensible code formatter (dprint.dev). Please report bugs and feature requests to our github.
N.B. Currently only UTF-8 file formats are supported correctly.
To use this plugin:
Preferences -> Tools -> dprint.Enable dprint is checkedRun dprint on save.Default formatter override. If a file can be formatted via dprint, the default IntelliJ formatter will be overridden and dprint will be run in its place when using Option+Shift+Cmd+L on macOS or Alt+Shift+Ctrl+L on Windows and Linux.Verbose daemon loggingdprint.json config file isn't at the base of your project, provide the absolute path to your config in the Config file path field, otherwise it will be detected automatically.node_modules, provide the absolute path to the dprint executable in the Executable path field, otherwise it will be detected automatically.This plugin uses a long-running process known as the editor-service. If you change your dprint.json file outside ofIntelliJ or dprint is not formatting as expected, run the Restart dprint action. If you need to reset all settingsto defaults, use the Reset to Defaults button in Preferences -> Tools -> dprint. This will reset allconfiguration values and restart the editor service.
The plugin supports both dprint schema v4 and v5 and will automatically detect the appropriate version based on your dprint installation.
Please report any issues with this Intellij plugin to thegithub repository.