Improved textual formatting of tools base code