Skip to content

v0.14 - Path-aware XPath/XQuery Autocomplete

Latest

Choose a tag to compare

@karlkauc karlkauc released this 26 Nov 11:45
· 2 commits to main since this release

What's New in v0.14

Path-aware XPath/XQuery Autocomplete

The XPath/XQuery autocomplete in the XML editor is now context-aware and shows only valid elements based on your current position in the XPath expression:

  • At root /: Shows only the root element of the loaded XML document
  • After element path /root/child/: Shows only valid child elements of the parent
  • After //: Shows all elements (descendant-or-self can match any element)
  • Fallback: If no children found, falls back to all elements

Technical Improvements

  • XmlDocumentElementExtractor now tracks the XML tree structure (root element, parent-child relationships)
  • XPathEditorContext provides path information (current path, last element, absolute vs descendant path)
  • XPathExpressionAnalyzer parses XPath to extract the element path
  • XPathCompletionProvider uses path-aware completions for more precise suggestions

Previous Releases Features (v0.13)

  • Redesigned XML Editor sidebar with section headers
  • Validation alerts and improved UX
  • XSD editor enhancements (save fix, version detection, drag & drop, copy/paste)
  • Bidirectional sync between XSD graphic editor and text view

🤖 Generated with Claude Code