XML
Edit XML source and inspect its element tree.
The XML editor opens .xml text files with two views over the same source.
- Raw provides syntax-aware source editing with search, history, wrapping, and folding.
- Tree renders the document as a navigable hierarchy of elements, attributes, text, comments, and CDATA sections. Double-click an element or attribute name to rename it, or an attribute/text-like value to edit it. XML values remain strings. Press Enter or click away to commit, or Escape to cancel.
Invalid XML stays fully editable in Raw, and Tree shows a parse error rather than a partial structure — a malformed tag never costs you your content.
Undo and redo
Section titled “Undo and redo”Cmd/Ctrl+Z and Cmd/Ctrl+Shift+Z undo and redo across both views. See Getting started for the full model.