EPIC uses PerlTidy for source code formatting (PerlTidy is included in the EPIC package).
To format the source code, select Ctrl+Shift+F.
→ from the Eclipse menu or usePerlTidy settings can be changed in the Source Formatter preference page.
Source formatting might take a while if the source code has a lot of lines.