I followed this post Intellij reformat on file save and set macro to do 'organize import', 'reformat code' and 'save all'. But the macro fails to do organize import and reformat code for all the saved files and formats only the current file where save (mapped to Ctrl + S) is executed
I am using IntelliJ 13.1.5