Forum General

How to change code formatting for *.designer.cs files?

When Xamarin Studio updates *.designer.cs files generated from storyboard it changes file 'WARNING' header and replaces tabs to spaces in all *.designer.cs files, that makes me hard to track my git changes and is very annoying. Is there any way to make all *.designer.cs generated files to have the same style?


  • SebastianSeidel.9226SebastianSeidel.9226 DEInsider, University ✭✭✭✭

    Not that I am aware off. In fact you shouldn't change anything in a generated file for the fact that it will be overwritten at any time. That said, if you wish to see the changes just set up git to ignore whitespace changes.

Sign In or Register to comment.