xquery-intellij-plugin

Compatible with: IntelliJ IDEA PhpStorm WebStorm PyCharm RubyMine AppCode CLion GoLand DataGrip Rider MPS Android Studio
Mar 24, 2019
5 569
XQuery 1.0, 3.0, and 3.1 language support with error recovery and support for: Full Text 1.0, and 3.0; Update Facility 1.0, and 3.0; Scripting Extension 1.0. Supports the BaseX, MarkLogic 6.0 to 8.0, and Saxonica XQuery vendor extensions.

Recent change notes

Release 1.4:

IntelliJ Integration:

  1. Register the XSLT 3.0 schema with IntelliJ.
  2. Display the first comment line when the comment is folded.
  3. Support profiling MarkLogic queries.
  4. Support configuring the namespace prefix colour.

Bug Fixes:

  1. Fix an issue with run configuration settings not saving in IntelliJ 2018.3 and later.
  2. Don't highlight xqDoc tags in non-xqDoc comments.
  3. Don't throw an IllegalCharsetNameException if the encoding string spans to the next line.

XPath and XQuery:

  1. Support the expath-ng variadic function arguments proposal.
  2. Fix parsing QNames in NameTests where the prefix is attribute, element, every, exit, namespace, processing-instruction, return, or some.
  3. Fix parsing NCNames in FunctionCalls and NameTests where the name is some, or every.
  4. Fix parsing ``[`{...}`...`]`` -- StringConstructorInterpolation at the start of a StringConstructor.

Static Context:

  1. Add support for the eXist-db built-in functions and static context. Thanks to Bridger Dyson-Smith for providing the built-in function definitions.
  2. Add the err and output namespaces to the BaseX static context.

Function Resolution:

  1. Correctly match functions with variadic function arguments.

Inspections:

  1. XPST0017: Fix the arity check for variadic functions.
  2. XPST0118: Don't crash on code like </<test/>.