JetBrains Rider brings powerful XML editing support that includes:
Validation and syntax highlighting.
Code completion (Ctrl+Space).
Indentation (Ctrl+Alt+I, Ctrl+Alt+Enter).
Formatting (Ctrl+Alt+Enter) according to the XML code style.
Intention actions (Alt+Enter).
Viewing code structure (N/A).
Navigation in the source code (F12).
Integrated documentation (Ctrl+Shift+F1).
Search for usages (Shift+F12).
Commenting and uncommenting lines (Ctrl+Alt+/, Ctrl+Shift+/).
Unwrapping and removing tags (Ctrl+Shift+Delete).
Generating schemas from instance documents and vice versa.
JetBrains Rider 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 Alt+Enter. 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.
In the Settings/Preferences dialog (Ctrl+Alt+S), go to .
Select the color scheme, accept the highlighting settings inherited from defaults or customize them as described in Configuring Colors and Fonts.