Table of content
You can define in "Window->Preferences->Bash editor" what shall happen when
a bash file is saved (currently only external source formatter is supported).
beautysh.
The installation for beautysh is described at beautysh GitHub.
But of course you can use any external source code formatter of your choice! Just call your tool with $filename as variable for the edit file path
inside your given command line in preferences and it shall work.