TyOverby / roslyn-diff-formatter

Run a formatter on the lines that you've changed

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

Run a formatter on the lines that you've changed


Languages

Language:C# 100.0%