The tqformat
plugin allows configuring tqformat as an (external) code formatter for Erlang code.
In order to use, get the escript version of tqformat
. Select a (compatible) Erlang SDK in IntelliJ, and select the correct path to the tqformat
escript in your project settings.
Format-on-save is available as a setting as well.
-
Using IDE built-in plugin system:
Preferences > Plugins > Marketplace > Search for "tqformat" > Install Plugin
-
Manually:
Download the latest release and install it manually using Preferences > Plugins > ⚙️ > Install plugin from disk...