XQuery IntelliJ Plugin 1.9.2
24 Nov 2021
- In-place rename refactoring support for variables.
- Support for
@apply
and@at
in MarkLogic search option custom facet extensions within XQuery code. - Update the built-in function definitions to eXist-db 5.3.
- Code folding for the remaining
{...}
constructs. - Bug fixes and general improvements.
IntelliJ Integration:
- Add paired brace matching for Saxon context item and lambda functions.
- Add paired brace matching for XPath expressions.
- Add code commenting support for XPath.
Code Folding:
- Add code folding for XQuery string interpolations.
- Add code folding for Full Text, Updating, Scripting, and vendor extension expressions containing braces (
{...}
).
Syntax and Semantic Highlighting:
- Highlight
=
in XML attributes as attribute values to match IntelliJ’s highlighting behaviour. - Highlight direct processing instruction node (
<?xml ...?>
) tokens.
References and Resolving:
- Fix resolving elements to
xmlns
nodes where the namespace URI is not also bound to a prefix.
Refactoring:
- Support in-place rename refactoring for variables, except for private variable declarations.
XPath and XQuery:
- Fix parsing
FTContainsExpr
in the RHS of aComparisonExpr
in XPath expressions. - Improve the error message when a
return
is used without aForExpr
orLetExpr
in XPath expressions. - Don’t generate an error when parsing
?$
and?($)
, where theVarName
is missing. - Improve the error message when a
QName
is used in aDirPIConstructor
.
eXist-db:
- Update the built-in function definitions to eXist-db 5.3. Thanks to Juri Leino for providing the built-in function definitions.
MarkLogic Rewriter XML Integration:
- Cache the endpoints to improve the line marker performance when the data has been previously calculated.
- In the Endpoints tool window navigate to the module file, not the rewriter XML element that references it.
MarkLogic Search Options XML Integration:
- Support resolving
parse/@at
,start-facet/@at
, andfinish-facet/@at
attribute values in XQuery direct constructors to the XQuery/MJS/SJS file they reference. - Support resolving
parse/@apply
,start-facet/@apply
, andfinish-facet/@apply
attribute values in XQuery direct constructors to the XQuery function they reference. - Add line markers to functions referenced by custom facets in search options XQuery direct constructors.