/roslyn-diff-formatter

Run a formatter on the lines that you've changed

Primary LanguageC#

Roslyn Diff Formatter

This is a code formatting tool that uses the Roslyn API to format only the source code that you've modified in version control

Building

dotnet restore
dotnet build

Usage

git diff master | diff-formatter.exe MySolution.sln
^                                    ^
|                                     \- Specify the solution that contains these files
 \- Specify the changes that you want to formater