Adapt excerpt of java formatter post
Add save actions post