Skip to content

Commit c943917

Browse files
committed
xquery-intellij-plugin 1.8.0
1 parent 8efb804 commit c943917

File tree

5 files changed

+90
-49
lines changed

5 files changed

+90
-49
lines changed

CHANGELOG.md

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

3-
## 1.8 - (In Development)
4-
5-
XSLT:
6-
7-
1. Support parsing XSLT 1.0, 2.0, and 3.0 schema types.
8-
1. Support XSLT 3.0 text value templates via the `expand-text` attribute.
9-
1. Set the XSLT file icon when the IntelliJ XPath plugin is not enabled.
10-
11-
XPath and XQuery:
12-
13-
1. Further reduce memory usage by removing additional nodes from the PSI tree.
14-
1. Auto-complete support for `CatchClause` variables.
15-
16-
IntelliJ Integration:
17-
18-
1. Support language injections on `StringLiteral`, `DirAttributeValue`,
19-
`DirElemContent`/`DirTextConstructor`, `CDataSection`, and `Pragma`
20-
elements.
21-
1. Support `language=Language` injection marker comments.
22-
1. Use the tag tree highlight colours for XML names in the breadcrumb bar
23-
and editor.
24-
25-
Inlay Parameters and Parameter Hints:
26-
27-
1. Don't add inlay parameter hints when element and attribute node names
28-
match the parameter name.
29-
1. Support expressions like `f#1(2)`, `(f#1(2))`, and `1 => (f#2(2))`.
30-
31-
Saxon:
32-
33-
1. Include ClauseInfo objects in the flat profile table results.
34-
35-
MarkLogic:
36-
37-
1. Support attaching breakpoints to all expressions in the MarkLogic
38-
debugger.
39-
1. Better report `SEC-PRIV` errors when adding a query processor.
40-
1. Fix the URI of the `xqterr` and `err` namespaces.
41-
1. Auto-complete support for `cts:element-walk`, `cts:entity-highlight`,
42-
`cts:highlight`, and `cts:walk` built-in variables.
43-
443
## 2020
454

5+
* [1.8.0 - 2020-11-12](docs/_posts/2020-11-12-release-1.8.0.md)
466
* [1.7.2 - 2020-08-31](docs/_posts/2020-08-31-release-1.7.2.md)
477
* [1.7.1 - 2020-07-25](docs/_posts/2020-07-25-release-1.7.1.md)
488
* [1.7 - 2020-07-10](docs/_posts/2020-07-10-release-1.7.md)

README.md

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,24 @@
88

99
## IntelliJ XQuery Plugin
1010

11-
This is a plugin for IntelliJ IDE 2019.2 – 2020.2 that adds support
12-
for the XML Query (XQuery) language. This covers support for:
11+
This is a plugin for IntelliJ IDE 2019.2 – 2020.3 that adds support
12+
for the XML Query (XQuery) and XML Path (XPath) languages. This covers
13+
support for:
14+
1. XPath 2.0, 3.0, and 3.1;
1315
1. XQuery 1.0, 3.0, and 3.1;
1416
1. XQuery and XPath Full Text extension;
1517
1. XQuery Update Facility 1.0, and 3.0 extension;
1618
1. XQuery Scripting extension;
1719
1. EXPath extensions;
1820
1. BaseX, MarkLogic, and Saxon vendor extensions.
1921

22+
In addition, the plugin provides experimental integration for XSLT
23+
when the IntelliJ XPathView plugin is disabled:
24+
1. Support parsing XSLT schema types such as `xsl:sequence-type` in `@as`
25+
attributes;
26+
1. Support for attribute value templates;
27+
1. Support for XSLT 3.0 text value templates.
28+
2029
See https://rhdunn.github.io/xquery-intellij-plugin/ for the plugin documentation
2130
and tutorials.
2231

@@ -59,13 +68,15 @@ This plugin provides support for the following IntelliJ features:
5968
1. Parameter information;
6069
1. Parameter inlay hints;
6170
1. Structure view;
62-
1. Breadcrumb navigation;
71+
1. Breadcrumb navigation, including highlighting XML tags in the editor like
72+
the IntelliJ XML plugin;
6373
1. Paired brace matching;
6474
1. Commenting code;
6575
1. Integrated function documentation ("Quick Documentation", Ctrl+Q);
6676
1. Context information (Alt+Q) for XQuery function declarations;
6777
1. Spellchecking support with bundle dictionaries with XPath, XQuery, and XSLT
6878
terms.
79+
1. Language injection support on various elements, including string literals.
6980

7081
The plugin also supports the following IntelliJ Ultimate features:
7182
1. Support displaying MarkLogic rewriter files in the Endpoints tool window;

build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,8 @@ buildscript {
4848
ext.kotlin_version = ext.kotlin_from_build(ext.idea_since_build.toInteger())
4949
ext.java_version = ext.java_from_build(ext.idea_since_build.toInteger())
5050

51-
ext.plugin_version = '1.8'
52-
ext.suffix = '-dev'
51+
ext.plugin_version = '1.8.0'
52+
ext.suffix = ''
5353

5454
repositories {
5555
maven { url 'http://dl.bintray.com/jetbrains/intellij-plugin-service' }
Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
---
2+
layout: post
3+
title: XQuery IntelliJ Plugin 1.8.0
4+
category: release
5+
---
6+
1. Support parsing XSLT schema types such as `xsl:sequence-type` in `@as`
7+
attributes, attribute (XSLT 1.0+) and text (XSLT 3.0+) value templates.
8+
1. Full expression breakpoint support for debugging MarkLogic queries.
9+
1. Support language injections on various elements, including string literals.
10+
1. Support XML tag tree highlighting in the breadcrumb bar and editor.
11+
1. Auto-complete support for built-in context variables (`err:` in
12+
`CatchClause`, and MarkLogic `cts:` variables).
13+
1. Support inlay parameters and parameter hints for named function reference
14+
based expressions like `f#1(2)`.
15+
16+
XSLT:
17+
18+
1. Support parsing XSLT 1.0, 2.0, and 3.0 schema types.
19+
1. Support XSLT 3.0 text value templates via the `expand-text` attribute.
20+
1. Set the XSLT file icon when the IntelliJ XPath plugin is not enabled.
21+
22+
XPath and XQuery:
23+
24+
1. Further reduce memory usage by removing additional nodes from the PSI tree.
25+
1. Auto-complete support for `CatchClause` variables.
26+
27+
IntelliJ Integration:
28+
29+
1. Support language injections on `StringLiteral`, `DirAttributeValue`,
30+
`DirElemContent`/`DirTextConstructor`, `CDataSection`, and `Pragma`
31+
elements.
32+
1. Support `language=Language` injection marker comments.
33+
1. Use the tag tree highlight colours for XML names in the breadcrumb bar
34+
and editor.
35+
36+
Inlay Parameters and Parameter Hints:
37+
38+
1. Don't add inlay parameter hints when element and attribute node names
39+
match the parameter name.
40+
1. Support expressions like `f#1(2)`, `(f#1(2))`, and `1 => (f#2(2))`.
41+
42+
Saxon:
43+
44+
1. Include ClauseInfo objects in the flat profile table results.
45+
46+
MarkLogic:
47+
48+
1. Support attaching breakpoints to all expressions in the MarkLogic
49+
debugger.
50+
1. Better report `SEC-PRIV` errors when adding a query processor.
51+
1. Fix the URI of the `xqterr` and `err` namespaces.
52+
1. Auto-complete support for `cts:element-walk`, `cts:entity-highlight`,
53+
`cts:highlight`, and `cts:walk` built-in variables.

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

Lines changed: 20 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
<p>XPath and XSLT:</p>
4141
<ol>
4242
<li>XSLT 3.0 XMLSchema support.</li>
43-
<li>Experimental XPath support when the XPathView plugin is disabled.</li>
43+
<li>Experimental XPath support when the IntelliJ XPathView plugin is disabled.</li>
4444
<li>Support parsing XSLT 1.0, 2.0, and 3.0 schema types.</li>
4545
<li>Support XSLT 3.0 text value templates.</li>
4646
</ol>
@@ -56,12 +56,13 @@
5656
<li>Code completion.</li>
5757
<li>Parameter information tooltips and inlay hints.</li>
5858
<li>Structure view, including on the navigation bar in IntelliJ 2020.1+.</li>
59-
<li>Breadcrumb navigation.</li>
59+
<li>Breadcrumb navigation, including highlighting XML tags in the editor like the IntelliJ XML plugin.</li>
6060
<li>Paired brace matching.</li>
6161
<li>Commenting code.</li>
6262
<li>Integrated function documentation ("Quick Documentation", Ctrl+Q).</li>
6363
<li>Context information (Alt+Q) for XQuery function declarations.</li>
6464
<li>Spellchecking support with bundle dictionaries with XPath, XQuery, and XSLT terms.</li>
65+
<li>Language injection support on various elements, including string literals.</li>
6566
</ol>
6667
<p>IntelliJ Ultimate integration:</p>
6768
<ol>
@@ -71,7 +72,23 @@
7172
]]></description>
7273

7374
<change-notes><![CDATA[
74-
<h3>Release 1.8-dev:</h3>
75+
<ol>
76+
<li>
77+
Support parsing XSLT schema types such as <code>xsl:sequence-type</code> in <code>@as</code> attributes,
78+
attribute (XSLT 1.0+) and text (XSLT 3.0+) value templates.
79+
</li>
80+
<li>Full expression breakpoint support for debugging MarkLogic queries.</li>
81+
<li>Support language injections on various elements, including string literals.</li>
82+
<li>Support XML tag tree highlighting in the breadcrumb bar and editor.</li>
83+
<li>
84+
Auto-complete support for built-in context variables (<code>err:</code> in <code>CatchClause</code>,
85+
and MarkLogic <code>cts:</code> variables).
86+
</li>
87+
<li>
88+
Support inlay parameters and parameter hints for named function reference based expressions like
89+
<code>f#1(2)</code>.
90+
</li>
91+
</ol>
7592
<p>XSLT:</p>
7693
<ol>
7794
<li>Support parsing XSLT 1.0, 2.0, and 3.0 schema types.</li>

0 commit comments

Comments
 (0)