IntelliJ IDEA
IntelliJ IDEA – the Leading Java and Kotlin IDE, by JetBrains
XML productivity tips
IntelliJ IDEA is not “only Java” IDE. If you have a license, you don’t need a separate XML editor (as well as HTML/CSS or JavaScript ones). These editors come with IntelliJ IDEA “out-of-the-box”.
Here is a couple of links that may help you with being more productive with XML editing:
- XML editor description from IntelliJ IDEA features
- Automatically adding namespace declarations with IntelliJ by Alessandro Vernet from XForms Everywhere blog
One more useful tip is that IntelliJ IDEA completes XML documents even if no schema is specified. All tag and attribute names and values are completed based on what you are typing. IntelliJ IDEA tracks your input and suggests new tag names and attributes for already used tags. It also filters out attributes that have already been specified for a tag, so you don’t have to worry about duplicates.
For example, you typed a tag like this:
When you are about to create another shopitem tag and start typing “price” attributes, you will get the completion:
Start typing another attribute, and IntelliJ IDEA will help you avoid duplicates by removing what you already typed from completion list.
Edit XML with pleasure!