Open rpavlik opened 9 years ago
I don't have any experience with this tool in particular, but based on my general experience, I would caution against an automated tool to reformat code. These tools tend to be quite fragile, even when they're based on a robust code-AST API like roslyn.
Well, we're using clang-format on all the C++ code with good results - there again, built on a compiler infrastructure.
Right now code style is kind of hit and miss and inconsistent. Doesn't look like there were a ton of tools for this in C# besides having Visual Studio do it for you (surprisingly enough, given I figured it was easier to parse/lex/sema than C++), but the Roslyn .net core project apparently recently open source a tool that they're using to apply and enforce a code style, and it's probably worth looking into: https://github.com/dotnet/codeformatter