XQuery IntelliJ Plugin 1.9.0

31 Mar 2021

  1. XRay unit test run configurations and IntelliJ integration.
  2. XProc 1.0-3.0 syntax highlighting and validation.
  3. XPath, XQuery, and XSLT 4.0 Editor’s Draft 13 January 2021 support.
  4. MarkLogic ErrorLog.txt file syntax highlighting in the editor.

XPath, XQuery, and XSLT 4.0 Editor’s Draft 13 January 2021:

  1. Add the XSLT 4.0 Editor’s Draft XMLSchema file.
  2. Support any ItemType on LocalUnionType and TypedMapTest.
  3. Support nesting TernaryConditionalExpr expressions.
  4. Support -> in addition to function in InlineFunctionExpr expressions, with optional function signatures.
  5. Support -> based ArrowExpr expressions.
  6. Support named arguments in function calls.
  7. Support RecordTest and EnumerationType item types.
  8. Support StringLiteral and VarRef for Lookup and UnaryLookup.
  9. Support WithExpr expressions.
  10. Support type in DefaultNamespaceDecl declarations in XQuery.
  11. Support item type declarations in XQuery.

XQuery:

  1. Support resolving wildcard prefixes to the namespace declaration.
  2. Fix an exception in code completion when typing in a comment after a variable reference.
  3. Show public/private icons in the file structure view.

XProc:

  1. Recognise xpl files as XProc XML files.
  2. Add the XProc 1.0 and 3.0 RNG schema file.
  3. Syntax highlighting for schema type, including p:inline value templates.

XRay Unit Tests:

  1. Add an XRay run configuration.
  2. Support running and profiling XRay unit tests.
  3. Add run actions in the line marker area.
  4. Support run actions on the context menu for files and directories.
  5. Report test status in the run console.

Semantic Highlighting:

  1. Fix highlighting xmlns namespace prefix in contexts other than XML attributes.
  2. Fix highlighting variables that do not resolve to a variable declaration or binding.
  3. Fix highlighting wildcard element and attribute names.
  4. Highlight the CompNamespaceConstructor name as a namespace prefix.
  5. Highlight KeySeparator names and RecordTest field names as map keys.
  6. Highlight PITest and CompPIConstructor names as processing instructions.
  7. Highlight KeywordArgument names as parameters.
  8. Highlight WithExpr using the same logic as DirAttribute.

Run Configuration:

  1. Support using the modules database for selected MarkLogic app-server.
  2. Filter the app-servers to the ones that match the selected database.
  3. Fix some encoding issues in handling UTF-8 output for MarkLogic.
  4. Fix reformatting the output when the option is specified in the configuration.
  5. Fix locating relative modules and includes in Saxon queries.

Debugging:

  1. Fix displaying the expression breakpoint range in the editor.