XML White Space

TaylorWilcoxTaylorWilcox USMember ✭✭
edited March 2015 in Visual Studio

I'm not sure if this is a Xamarin Studio thing, or if I'm just not understanding how white space in an XML file is supposed to work.

If I have part of an axml file that looks like this:
<LinearLayout <!-- attributes --> > </LinearLayout> <LinearLayout <!-- attributes --> > </LinearLayout>
Next I add a new line between the two linear layouts.
I save the file, close it, re-open it, and the newline changes were not saved.
The changes are not picked up in git either.
If I make other changes such as editing an attribute, the changes are saved.


Best Answer


  • TaylorWilcoxTaylorWilcox USMember ✭✭

    Yes I think you're right, I double checked and I'm only experiencing this with my axml files.

    Thank you!

Sign In or Register to comment.