Format code to every user's liking and end the endless discussion of how something should be formatted.
Since there is no semantic difference between different ways of code formatting, there is no point in forcing people to format there code in a certain way. Code could be checked in without formatting and checked out with the formatting that the developer wants. Put an end to the endless code formatting discussions and make tools like StyleCop redundant.
New SemanticMerge able to skip format conflicts.
Check it out!
http://blog.semanticmerge.com/2014/05/skip-format-conflicts-with-new.html
-
Erlend Robaye commented
This is very nice, a big thumbs up !
But my idea was still a step further, maybe I didn't express my self to clear then.
Checked in code could be 'without formatting', when code is presented to the developer, it could be reformatted (using custom user rules) so that developer X sees the code formatted the ways he likes and developer Y sees the same code formatted the way he likes.
I hope I'm making myself clear now ;)
-
miryamgsm commented
A new release (1.0.64) has been publish with support for this! Check it out!
-
Adminpsantosl (Admin, plasticscm) commented
You mean we should be able to skip formatting options?
It is interesting. Maybe we can automatically format the code to some sort of internal format and only then calculate the diffs, skipping formatting conflicts.
Is this what you mean?