Is there a text editor that will “pretty print” for display without changing the underlying text?
问题 There are two competing requirements 1) I want to pretty print so that I can read and understand code written by my peers 2) I don't want to check in the pretty printed code to source control because... It might not meet the coding standard where I work When reviewing history in source control, formatting changes obscure the 'real' changes. For discussion of problems checking in formatting changes, see this other stackoverflow question Committing when changing source formatting? At the same