org.thingml.xtext.helpers.ThingMLSerializer contains a pretty printer.
It works but the formatting is not pretty. It is using the default OneWhitespaceFormatter.
I do not understand why it does not use our ThingMLFormatter.
Ctrl+Shift+F in eclipse and the saving of EMF Resources which works properly but I cannot find how to setup the ThingMLSerializer to use the ThingMLFormatter in the same way.
I give up for now!