Skip to content
GitLab
Next
    • Why GitLab
    • Pricing
    • Contact Sales
    • Explore
  • Why GitLab
  • Pricing
  • Contact Sales
  • Explore
  • Sign in
  • Get free trial
  • GitLab.orgGitLab.org
  • GitLabGitLab
  • Issues
  • #17647

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 Jun 15, 2021 by Simon Uhegbu
Assignee
Assign to
Time tracking