2 ms·
I've never worked with a fmt tool, but run C# StyleCop[1] on each build to warn about style violations. Naively to me that seems to give the same benefit, but i
by pjtr 11y ago
I've never worked with a fmt tool, but run C# StyleCop[1] on each build to warn about style violations. Naively to me that seems to give the same benefit, but is probably significantly easier to write, is easily configurable and extensible, and leaves me in control.
Isn't it annoying when a globally optimizing tool switches back and forth between "all arguments on one line" and "all arguments on separate lines"? E.g. producing overly complex whitespace changes in diffs for small "triggering" changes?
[1] https://stylecop.codeplex.com/ https://stylecop.codeplex.com/
- xkcd_353 11y agoI've never tried StyleCop, but I was under the impression that Resharper can do a lot of auto-formatting for you, can't it?