Code Formatter tool?

Miscellaneous Forums/General Discussion/Code Formatter tool?

Why would formatting be lost? Is it because of different end-of-line conventions?

If so you could try a unix2dos utility. That just looks for the LF character and inserts a CR.