has there ever been a proposal for establishing a formatting style file for programmers? In web programming, we have CSS files that help separate style from 'code', so two people can see the same code while each can see it in his/her preferred way.
I was thinking something like this could theoretically be achieved for programming. How many times have you read code from another programmer with a formatting that you can't stomach? If you change the formatting, you're changing the source file, so whoever comes after you to read the same file could have the same issue against your formatting that you had.
You could say "define coding standards" but this is usually not done in small or individual teams before the company grows.
Why not separate formatting from code? You could define how you like code formatted (brackets here, new line after this, etc) and the IDE would take the source code and auto-format it to your liking (without changing the source code). I guess it wouldn't be a trivial thing, but I'm curious if there are languages or IDEs in which this has been done.
Has something like this been done or attempted ever? Is it doable? Could something like this be incorporated in, say, Visual Studio?