Skip to content

Auto collapse diff of generated and less important code

Description

Some languages (e.g. C#) generating a lot of code if you are using Visual Studio. It would be great to auto collapse those auto generated files by default in diff view.

Proposal

Collapse auto generated code files by default in diff views:

  • *.resx
  • *.Designer.cs
  • *.meta - Unity
  • ..

So you can focus on the really important parts of the code. GitHub does it already:

image

Links / references

Example commit on GitHub

/cc @smcgivern @victorwu

Edited by Simon Uhegbu