Skip to content

Instantly share code, notes, and snippets.

@segilbert
Created March 19, 2013 20:35
Show Gist options
  • Save segilbert/5199888 to your computer and use it in GitHub Desktop.
Save segilbert/5199888 to your computer and use it in GitHub Desktop.
Simple C# custom WinMerge filter.
## This is a directory/file filter template for WinMerge
name: CSharp Custom Filter
desc: Filter out bin dir and project files
## Select if filter is inclusive or exclusive
## Inclusive (loose) filter lets through all items not matching rules
## Exclusive filter lets through only items that match to rule
## include or exclude
def: include
## Filters for filenames begin with f:
## Filters for directories begin with d:
## (Inline comments begin with " ##" and extend to the end of the line)
f: \.csproj$
f: \.sln$
f: \.Designer.cs$
## f: AssemblyInfo.cs$
f: \.ReSharper$ ## ReSharper data
d: \\bin$
d: \\obj$
d: \\Debug$
d: _ReSharper
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment