alek-sys / sublimetext_indentxml

Plugin for Sublime Text editor for reindenting XML and JSON files
MIT License
534 stars 136 forks source link

Do not adjust adjust whitespace other than indent #120

Open elenzil opened 3 years ago

elenzil commented 3 years ago

Similar to #59 , this is a request to just adjust the indent and leave non-indent aspects untouched. Specifically, the indent operation eliminates any whitespace in front of a tag-closure \>. This is problematic because other tools such as VisualStudio put a space there. So indenting your .vcxproj file makes a whole lot of <blah \> -> <blah\> changes.