Skip to content

Commit c69333d

Browse files
committed
xquery-intellij-plugin 1.9.2
1 parent 86880f5 commit c69333d

File tree

4 files changed

+72
-53
lines changed

4 files changed

+72
-53
lines changed

CHANGELOG.md

Lines changed: 1 addition & 51 deletions
Original file line numberDiff line numberDiff line change
@@ -1,58 +1,8 @@
11
# Change Log
22

3-
## 1.10.0 - (In Development)
4-
5-
IntelliJ Integration:
6-
7-
1. Add paired brace matching for Saxon context item and lambda functions.
8-
2. Add paired brace matching for XPath expressions.
9-
3. Add code commenting support for XPath.
10-
11-
Code Folding:
12-
13-
1. Add code folding for XQuery string interpolations.
14-
2. Add code folding for Full Text, Updating, Scripting, and vendor extension expressions containing braces (`{...}`).
15-
16-
Syntax and Semantic Highlighting:
17-
18-
1. Highlight `=` in XML attributes as attribute values to match IntelliJ's highlighting behaviour.
19-
2. Highlight direct processing instruction node (`<?xml ...?>`) tokens.
20-
21-
References and Resolving:
22-
23-
1. Fix resolving elements to `xmlns` nodes where the namespace URI is not also bound to a prefix.
24-
25-
Refactoring:
26-
27-
1. Support in-place rename refactoring for variables, except for private variable declarations.
28-
29-
XPath and XQuery:
30-
31-
1. Fix parsing `FTContainsExpr` in the RHS of a `ComparisonExpr` in XPath expressions.
32-
2. Improve the error message when a `return` is used without a `ForExpr` or `LetExpr` in XPath expressions.
33-
3. Don't generate an error when parsing `?$` and `?($)`, where the `VarName` is missing.
34-
4. Improve the error message when a `QName` is used in a `DirPIConstructor`.
35-
36-
eXist-db:
37-
38-
1. Update the built-in function definitions to eXist-db 5.3. Thanks to Juri Leino for providing
39-
the built-in function definitions.
40-
41-
MarkLogic Rewriter XML Integration:
42-
43-
1. Cache the endpoints to improve the line marker performance when the data has been previously calculated.
44-
2. In the Endpoints tool window navigate to the module file, not the rewriter XML element that references it.
45-
46-
MarkLogic Search Options XML Integration:
47-
48-
1. Support resolving `parse/@at`, `start-facet/@at`, and `finish-facet/@at` attribute values in XQuery direct
49-
constructors to the XQuery/MJS/SJS file they reference.
50-
2. Support resolving `parse/@apply`, `start-facet/@apply`, and `finish-facet/@apply` attribute values in XQuery
51-
direct constructors to the XQuery function they reference.
52-
3. Add line markers to functions referenced by custom facets in search options XQuery direct constructors.
53-
543
## 2021
554

5+
* [1.9.2 - 2021-11-24](docs/_posts/2021-11-24-release-1.9.2.md)
566
* [1.9.1 - 2021-07-23](docs/_posts/2021-07-23-release-1.9.1.md)
577
* [1.9.0 - 2021-03-31](docs/_posts/2021-03-31-release-1.9.0.md)
588

build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,12 +40,12 @@ buildscript {
4040
ext.kotlin_stdlib = "kotlin-stdlib"
4141
ext.java_version = "11"
4242

43-
ext.plugin_version = '1.10.0'
43+
ext.plugin_version = '1.9.2'
4444
// Suffix ordering:
4545
// `'-snapshot'` -- for development builds
4646
// `'-eap-###'` -- for early access preview builds (`-eap-1`, `-eap-2`, `-eap-3`, etc.)
4747
// `''` -- for release builds
48-
ext.suffix = '-snapshot'
48+
ext.suffix = ''
4949

5050
repositories {
5151
mavenCentral()
Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
---
2+
layout: post
3+
title: XQuery IntelliJ Plugin 1.9.2
4+
category: release
5+
---
6+
1. In-place rename refactoring support for variables.
7+
2. Support for `@apply` and `@at` in MarkLogic search option custom facet extensions within XQuery code.
8+
3. Update the built-in function definitions to eXist-db 5.3.
9+
4. Code folding for the remaining `{...}` constructs.
10+
5. Bug fixes and general improvements.
11+
12+
IntelliJ Integration:
13+
14+
1. Add paired brace matching for Saxon context item and lambda functions.
15+
2. Add paired brace matching for XPath expressions.
16+
3. Add code commenting support for XPath.
17+
18+
Code Folding:
19+
20+
1. Add code folding for XQuery string interpolations.
21+
2. Add code folding for Full Text, Updating, Scripting, and vendor extension expressions containing braces (`{...}`).
22+
23+
Syntax and Semantic Highlighting:
24+
25+
1. Highlight `=` in XML attributes as attribute values to match IntelliJ's highlighting behaviour.
26+
2. Highlight direct processing instruction node (`<?xml ...?>`) tokens.
27+
28+
References and Resolving:
29+
30+
1. Fix resolving elements to `xmlns` nodes where the namespace URI is not also bound to a prefix.
31+
32+
Refactoring:
33+
34+
1. Support in-place rename refactoring for variables, except for private variable declarations.
35+
36+
XPath and XQuery:
37+
38+
1. Fix parsing `FTContainsExpr` in the RHS of a `ComparisonExpr` in XPath expressions.
39+
2. Improve the error message when a `return` is used without a `ForExpr` or `LetExpr` in XPath expressions.
40+
3. Don't generate an error when parsing `?$` and `?($)`, where the `VarName` is missing.
41+
4. Improve the error message when a `QName` is used in a `DirPIConstructor`.
42+
43+
eXist-db:
44+
45+
1. Update the built-in function definitions to eXist-db 5.3. Thanks to Juri Leino for providing
46+
the built-in function definitions.
47+
48+
MarkLogic Rewriter XML Integration:
49+
50+
1. Cache the endpoints to improve the line marker performance when the data has been previously calculated.
51+
2. In the Endpoints tool window navigate to the module file, not the rewriter XML element that references it.
52+
53+
MarkLogic Search Options XML Integration:
54+
55+
1. Support resolving `parse/@at`, `start-facet/@at`, and `finish-facet/@at` attribute values in XQuery direct
56+
constructors to the XQuery/MJS/SJS file they reference.
57+
2. Support resolving `parse/@apply`, `start-facet/@apply`, and `finish-facet/@apply` attribute values in XQuery
58+
direct constructors to the XQuery function they reference.
59+
3. Add line markers to functions referenced by custom facets in search options XQuery direct constructors.

src/main/resources/META-INF/plugin.xml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,16 @@
7171
]]></description>
7272

7373
<change-notes><![CDATA[
74+
<ol>
75+
<li>In-place rename refactoring support for variables.</li>
76+
<li>
77+
Support for <code>@apply</code> and <code>@at</code> in MarkLogic search option custom facet
78+
extensions within XQuery code.
79+
</li>
80+
<li>Update the built-in function definitions to eXist-db 5.3.</li>
81+
<li>Code folding for the remaining `{...}` constructs.</li>
82+
<li>Bug fixes and general improvements.</li>
83+
</ol>
7484
<p>IntelliJ Integration:</p>
7585
<ol>
7686
<li>Add paired brace matching for Saxon context item and lambda functions.</li>

0 commit comments

Comments
 (0)