Failures in the parser are swallowed
[debug] Initially invalidated: Set()
[error] Scalariform parser error: see compile for details
[info] Classpath: [Attributed(c:\var\ivy2\cache\com.efgfp.protobufenricher\protobuf-enricher\jars\protobuf-enricher-1.1.5.jar)]
[success] Total time: 3 s, completed 17.12.2012 15:56:23
It would also be prudent to move the try/catch into the loop over files, so that a parser bug in one file doesn't prevent reformatting for everything else.
@gbasler Could you please provide a reproducible test case?
Try to format this small example with the sbt-plugin: mdr/scalariform#60
We have a file that triggered this bug in Scalariform 0.1.3 (which is the version the sbt plugin uses). It has been fixed only recently.
closes #2: Improve error reporting
Thanks. Fixed in 1.0.1.