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

  • Question

  • User226359 posted

    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?

    Wednesday, January 18, 2017 10:13 PM

All replies

  • User1341 posted

    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.

    Monday, January 23, 2017 7:38 PM