Table of content

Save actions

You can define in "Window->Preferences->Bash editor" what shall happen when a bash file is saved (currently only external source formatter is supported).

External source reformatter action

If enabled the editor will always save the editor content, call the external tool and reloads the file into editor again, so the formatting changes will be applied.

Per default this option is disabled but has a working default setup for 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.