Skip to content

Instantly share code, notes, and snippets.

@NLKNguyen
Created July 12, 2023 00:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save NLKNguyen/e653dae353aa2d57ee813b91d265d455 to your computer and use it in GitHub Desktop.
Save NLKNguyen/e653dae353aa2d57ee813b91d265d455 to your computer and use it in GitHub Desktop.
WinMerge common File Filters to compare source code folders that contain C#, JS projects
## WinMerge is a free folder/file comparison tool for Windows https://winmerge.org/
## This is a directory/file filter for WinMerge to only compare certain files
name: common-source-code
desc: lets through common files for ASP.NET / JS projects
## This is an exclusive filter (it lets through only matching files)
def: exclude
## Filters for including filenames begin with f:
## Filters for including directories begin with d:
## Filters for un-including filenames that are included begins with f!:
## Filters for un-including directories that are included begins with d!:
## XML
f: \.xml$
f: \.xlst$
f: \.xsl$
f: \.xslt$
f: \.dtd$
## Web
f: \.html$
f: \.htm$
f: \.css$
f: \.scss$
f: \.js$
f: \.ts$
f: \.json$
## Images
f: \.gif$
f: \.bmp$
f: \.jpg$
f: \.png$
f: \.dll$
f: \.aspx$
f: \.asmx$
f: \.ascx$
f: \.vb$
f: \.resx$
f: \.cs$
f: \.vbproj$
f: \.csproj$
f: \.sln$
f: \.webinfo$
f: \.config$
## SQL
f: \.sql$
## include all subdirectories
d: \\*$
## un-include generated subdirectories
d!: \\bin$
d!: \\obj$
d!: \\dist$
d!: \\node_modules$
d!: \\.angular$
d!: \\.git$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment