Format to personal style on open. Format to project style on save. The project style is then consistent, but irrelevant.
For me, I’m opening so many kinds of text files, I’d need a parade of parsers and pretty-printers to pull it off. I can’t see it being a realistic option in the near term.