visual studio - Handling white space and formatting in source control -
i work on team uses tfs source control. team members complaining others checking in files have been heavily modified in sense ide (visual studio) has done sort of automatic formatting on them. particularly burdensome on users make heavy use of comparison functionality. admittedly unfamiliar nuts , bolts of visual studio. 1 member has suggested use same editor settings doesn't happen.
is having team members adopt same code editor settings best way handle problem?
having use same settings idea in general. if adheres same format, settings, , conventions, can reduce "learning curve" when switching between code person wrote.
that being said, if of differences whitespaces may indicate shortcoming of diff tool. fortunately, visual studio allows swap out built-in diff tool of choosing. have find 1 works best needs. kdiff3 pretty one.
here's example on how configure kdiff3 visual studio. there's setting (possibly command line parameter) in kdiff can set , ignore whitespace differences.
Comments
Post a Comment