Difference between revisions of "Xml"
From BotF2-Wiki
m (1 revision) |
|||
(One intermediate revision by one user not shown) | |||
Line 1: | Line 1: | ||
− | XML-files ([http://en.wikipedia.org/wiki/XML Wikipedia]) are used a lot in BotF2 | + | XML-files ([http://en.wikipedia.org/wiki/XML Wikipedia]) are used a lot in BotF2, files see [[:Category:XML-files]] |
== <nowiki><!-- comment --></nowiki> == | == <nowiki><!-- comment --></nowiki> == | ||
Line 8: | Line 8: | ||
Sometimes this is also used to deactivate some part of code which is standardly not used. For example just look into MusicPacks.xml. | 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 [[Source Code|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) |
Latest revision as of 10:25, 3 May 2014
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)