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
tuple
types with whitespace or comments after the
item type with an occurrence indicator and before the comma. - Fix parsing Saxon 9.8
union
types with whitespace or comments after the
QName and before the comma. - Fix parsing
TypedFunctionTest
constructs 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-instruction
StringLiterals.
References and Resolving:
- Only the variable for the active
typeswitch
case
/default
clause should be in scope. - Fix
for
/let
bindings so previous binding variables are visible from thein
expression. - Fix checking multiple declared variables in a Scripting Extensions
BlockVarDecl
node.
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
KindType
tests. - Saxon 9.8
tuple
andunion
types, anddeclare type
prolog statements. - BaseX Full Text
fuzzy
option. - 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
TypedFunctionTest
does 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
ProcessCanceledException
thrown 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-XQUERYVERSIONSWITCH
errors. - 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 <ncname
as part of an expression, not as a
DirElemConstructor
when not followed by an attribute list or closing
element tag. XQuery engines support this usage. - Allow empty
EnclosedExpr
elements inCompTextConstructor
,DirAttributeValue
andDirElemContent
for MarkLogic.
Bug Fixes:
- Fix processing NCNames in
map
keys and values separated by spaces. - Fix a crash when checking conformance of
map
constructs without a:
.
IntelliJ Integration:
- Support code folding for
EnclosedExpr
,DirElemConstructor
andComment
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
PredefinedEntityRef
andCharRef
tokens in
xqDoc comments. - Support BaseX 7.8 and 8.5
update
expressions.
Bug Fixes:
- Don't crash when resolving an empty
URILiteral
in 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 (
DirElemConstructor
parsing). - Support for xqDoc documentation comments.
IntelliJ Integration:
- Paired brace matching.
- Commenting code support.
- Fixed
VersionDecl
conformance 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
InstanceofExpr
andTreatExpr
-- 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.