Code: Select all
<add key="someKeyName" value="someValue"/>
Code: Select all
<add key="someKeyName"
value="someValue"/>
Now, though, if I compare two differently formatted (in terms of whitespace and line breaks) config files in visual studio, I see that the first line shows that the value attribute is deleted in the second doc, the second line shows the entire line deleted on the first doc, and the value attribute through to closing bracket inserted on the second doc. After that even lines are a mess, and odd lines are half a mess.
Net result: I can no longer easily see if config files that are formatted differently in the vault history and working folder have any actual changes other than the formatting. I realise I could get the historial version from vault, format it the same as the one I want to compare with and so on, but its no longer one-click. I used to use this all the time during application deployments to check config files
I tried playing with a ruleset for .config files - but to no avail. Can anyone help? The desired behaviour would be more 3.5-like, where it realises that the line break and whitespace insert are not the same as a deletion/insertion on the next line.
Andy