fsharp/fsharpbinding — pull request #663 by rojepp (2014-07-15 21:57:11+00:00)
Title: Fix #612: Bug in new project creation

Fix #612: The Fantomas formatter will be invoked by XS, so that the code from templates will be formatted prior to being created.

This formatting goes through WorkBench.ActiveDocument and would overwrite the correct code with the one from the old solution/project.

This is more code than is necessary to fix the bug; I also opted to remove a use of Workbench.ActiveDocument that I consider harmful.