BashSupport Pro supports shfmt to format your shell scripts. shfmt binaries are bundled with the plugin, but you still can use a version, which is installed on your system.
Code Style Settings
BashSupport Pro bundles shfmt binaries for macOS, Linux and Windows. If you want to use a locally installed version of shfmt, then you can set your own path at Settings… → Languages & Frameworks → BashSupport Pro .
The following settings are not yet supported:
- formatting only the selected text of a file