Xml
From BotF2-Wiki
XML-files (Wikipedia) are used a lot in BotF2, files see Category:XML-files
Contents
<!-- comment -->
<!-- means that next text/lines are simply a comment, not a code. End of this is/must be -->'''
Sometimes this is also used to deactivate some part of code which is standardly not used. For example just look into MusicPacks.xml.
Visual Studio
might be a little bit different, depending on version of Visual Studio and on language (most here is taken from German versions 2008, 2010 or 2013)
open a xml
just drag'n'drop the file to Visual Studio (right click and "open with" might also work)
Editor
show line numbers
> EXTRAS > OPTIONS > TEXTEDITOR > ALL LANGUAGES > GENERAL: line numbers
show space
> EDIT > ADVANCED: STRG+E, S
optimize
> EDIT > ADVANCED: STRG+E, D (whole document) or STRG+E, F (only marked area)