Releases: rhdunn/xquery-intellij-plugin
Releases · rhdunn/xquery-intellij-plugin
1.1
Language Support:
- Support using MarkLogic 8.0
array-node()andobject-node()tests indocument-node()tests. - Fix parsing Saxon 9.8
tupletypes with whitespace or comments after the
item type with an occurrence indicator and before the comma. - Fix parsing Saxon 9.8
uniontypes with whitespace or comments after the
QName and before the comma. - Fix parsing
TypedFunctionTestconstructs with whitespace or comments after the
item type with an occurrence indicator and before the comma. - Improve error recovery when parsing incomplete QNames in direct element constructor
start and end tags, e.g.<a:></a:>. - Fix tokenizing
``[...`]``.
Syntax Highlighting:
- Highlight NCNames in
processing-instructionStringLiterals.
References and Resolving:
- Only the variable for the active
typeswitchcase/defaultclause should be in scope. - Fix
for/letbindings so previous binding variables are visible from theinexpression. - Fix checking multiple declared variables in a Scripting Extensions
BlockVarDeclnode.
Inspections:
- XQST0118: Mismatched open and close XML tag in direct element constructors.
1.0
Language Support:
- Full Text 1.0 and 3.0 support.
- MarkLogic 7.0 and 8.0 schema-components
KindTypetests. - Saxon 9.8
tupleanduniontypes, anddeclare typeprolog statements. - BaseX Full Text
fuzzyoption. - Recover when
=is used instead of:=. - Improved multi-statement expression parsing and error reporting for MarkLogic 6.0, and
W3C Scripting XQuery extensions.
Bug Fixes:
- Fix tokenizing
`{...}`expressions outside XQuery 3.1 string interpolation contexts. - Report a parser error when a
TypedFunctionTestdoes not have a return type clause. - Report a parse error when an unpaired
}is used in direct element contents. - Fix parsing pragmas with EQNames, and optional pragma contents.
- Fix resolving functions referenced in the current library module.
- Fix support for
ProcessCanceledExceptionthrown when creating PSI nodes.
Inspections:
- XPST0003: Final statement semicolon inspection for MarkLogic and Scripting Extension
syntax differences. - XPST0003: Reserved function inspection. This is split out from the unsupported construct
inspection. - XPST0003: Saxon/XQuery map key-value separators. This is split out from the unsupported
construct inspection. - XPST0017: Undefined function inspection. This is experimental, as it
currently reports many false positives. - XQST0031: Extend the inspection to check unsupported XQuery versions in different MarkLogic
transactions, and check forXDMP-XQUERYVERSIONSWITCHerrors. - XQST0033: Duplicate namespace prefix.
- XPST0081: Unbound QName prefix.
IntelliJ Integration:
- Moved the MarkLogic run configuration to a separate plugin.
0.5
Language Support:
- MarkLogic 9.0 support.
- Interpret
expr <ncnameas part of an expression, not as a
DirElemConstructorwhen not followed by an attribute list or closing
element tag. XQuery engines support this usage. - Allow empty
EnclosedExprelements inCompTextConstructor,DirAttributeValue
andDirElemContentfor MarkLogic.
Bug Fixes:
- Fix processing NCNames in
mapkeys and values separated by spaces. - Fix a crash when checking conformance of
mapconstructs without a:.
IntelliJ Integration:
- Support code folding for
EnclosedExpr,DirElemConstructorandComment
elements; - Initial support for MarkLogic run configurations.
0.4
Language Support:
- Complete support for XQuery Scripting Extensions 1.0.
- Support highlighting xqDoc parameter names.
- Support highlighting XML
PredefinedEntityRefandCharReftokens in
xqDoc comments. - Support BaseX 7.8 and 8.5
updateexpressions.
Bug Fixes:
- Don't crash when resolving an empty
URILiteralin an import statement. - Fix highlighting
:at the start of a line in xqDoc comments. array-node {}is valid in MarkLogic 8.0.
0.3
Language Support:
- Complete support for XQuery 3.1 constructs.
- Complete support for Update Facility 3.0 extensions.
- Improved error reporting on unbalanced XML (
DirElemConstructorparsing). - Support for xqDoc documentation comments.
IntelliJ Integration:
- Paired brace matching.
- Commenting code support.
- Fixed
VersionDeclconformance checks on invalid version strings.
0.2.1
0.2
- Use an inspection -- not the parser -- to check and report constructs from a
different XQuery version or extension. - Improved error recovery when parsing library modules.
- Context-based highlighting of identifiers (QName prefices, annotations and
keyword-based identifiers).
Language Support:
- Complete support for XQuery 3.0 constructs.
- Complete support for Update Facility 1.0 extensions.
- Complete support for MarkLogic 1.0-ml extensions in MarkLogic 6.0 and 8.0.
- Fix
InstanceofExprandTreatExpr-- they expect aSequenceType, not a
SingleType.
IntelliJ Integration:
- Resolve URILiteral string references.
- Resolve QName prefices to namespace declarations.
- Resolve function usage to the corresponding function declaration.
- Resolve variable usage to the corresponding variable declaration.
- Find usages.