It seems like that could be done in the editor if you auto-reformat on load and save. (Assuming there's an agreed-on canonical format.)