AppCode brings powerful XML editing support that includes:
Validation and syntax highlighting.
Code completion ⌃Space.
Indentation (⌃⌥I, ⌥⌘L).
Navigation in the source code ⌘B.
Search for usages ⌥F7.
Commenting and uncommenting lines (⌘/, ⌥⌘/).
Generating schemas from instance documents and vice versa.
AppCode uses Xerces 2.11, an XML parser developed by Apache Software Foundation Group.
To import an XML namespace
Open the desired file for editing, and start typing a tag. If a namespace is not bound, the following prompt appears:
Press ⌥⏎. If there are multiple choices, select the desired namespace from the list.
Configuring syntax highlighting
You can configure XML-aware syntax highlighting according to your preferences and habits.
Select the color scheme, accept the highlighting settings inherited from defaults or customize them as described in Configuring Colors and Fonts.