Skip to content

Commit

Permalink
xquery-intellij-plugin 1.7
Browse files Browse the repository at this point in the history
  • Loading branch information
rhdunn committed Jul 10, 2020
1 parent 74b7da1 commit 500b5f3
Show file tree
Hide file tree
Showing 5 changed files with 96 additions and 64 deletions.
57 changes: 1 addition & 56 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,63 +1,8 @@
# Change Log

## 1.7 - (In Development)

MarkLogic:

1. Support stopping MarkLogic queries.
1. Support registering MarkLogic schema files.
1. Support for debugging MarkLogic XQuery-based queries.

eXist-db / FusionDB:

1. Detect FusionDB so it is correctly displayed in the query processor lists.
1. Display the log files in the Query Log panel.
1. Fixed calling APIs that require specific permissions that the query
processor user has.
1. Fix displaying `node()` and `function(*)` types in the query results view.

BaseX:

1. Fix validating beta releases in the query processor UI.

Run Configurations:

1. Fixed scrolling to an item in the results pane when the detected filetype
is plain text.
1. Fixed a null pointer exception when processing MarkLogic syntax error
responses.
1. Fixed navigating to module paths in query errors.
1. Add icons to the query processors.

Module Imports:

1. Support resolving MarkLogic imports from a configured database install path.
1. Support resolving imports from the Roxy `xquery.dir` property path.
1. Support resolving imports from the ml-gradle `mlModulePaths` property paths.

Endpoints:

1. Support autocompleting multi-valued `match-method` elements in MarkLogic rewriter files.
1. Support displaying MarkLogic rewriter files in the Endpoints tool window.
1. Support displaying EXQuery RESTXQ endpoints in the Endpoints tool window.

Documentation:

1. Fix the return type in the MarkLogic documentation.
1. Add icons to the documentation sources.

Code Completion:

1. Include declared variables without a namespace prefix in the completion list.

Inlay Parameter Hints:

1. Don't display a hint when the variable name matches the parameter name.
1. Don't display a hint when the path step element/attribute name matches the parameter name.
1. Don't display a hint when the forward/reverse step name matches the parameter name.

## 2020

* [1.7 - 2020-03-21](docs/_posts/2020-07-10-release-1.7.md)
* [1.6.2 - 2020-05-04](docs/_posts/2020-05-04-release-1.6.2.md)
* [1.6.1 - 2020-04-09](docs/_posts/2020-04-09-release-1.6.1.md)
* [1.6 - 2020-03-21](docs/_posts/2020-03-21-release-1.6.md)
Expand Down
10 changes: 9 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,21 +25,29 @@ and tutorials.
This plugin provides support for the following implementations of XQuery:
1. BaseX 7.0 – 9.3;
1. eXist-db 4.4 – 5.2;
1. FusionDB alpha;
1. MarkLogic 8.0 – 10.0;
1. Saxon 9.2 – 10.0.

For those XQuery implementations, this plugin supports:
1. Running XQuery, XSLT, XPath, SPARQL, SQL, and JavaScript queries where
supported by the implementation;
1. Profiling XQuery and XSLT queries;
1. Debugging MarkLogic XQuery-based queries; __\[Next Release]__
1. Debugging MarkLogic XQuery-based queries, with experimental breakpoint
support;
1. Viewing access and error log files.

This plugin provides additional integration support for the following query
processor file types and standards:
1. MarkLogic rewriter XML files;
1. EXQuery RESTXQ 1.0.

### Libraries and Frameworks

This plugin adds support for the following project frameworks:
1. MarkLogic Roxy – source root detection;
1. MarkLogic ml-gradle – source root detection.

### IntelliJ Integration

This plugin provides support for the following IntelliJ features:
Expand Down
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ buildscript {
ext.kotlin_version = "1.3.72"

ext.plugin_version = '1.7'
ext.suffix = '-dev'
ext.suffix = ''

// The JBR version to use with buildSearchableOptions.
ext.jbr_build = System.getenv("JBR_BUILD")
Expand Down
66 changes: 66 additions & 0 deletions docs/_posts/2020-07-10-release-1.7.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
---
layout: post
title: XQuery IntelliJ Plugin 1.7
category: release
---
1. Display MarkLogic rewriter and EXQuery RESTXQ endpoints in IntelliJ
Ultimate's Endpoint tool window.
1. Support for debugging MarkLogic XQuery-based queries, with experimental
expression breakpoint support.
1. Improved eXist-db and FusionDB support.
1. Support for MarkLogic Roxy and ml-gradle project source root detection.
1. Add icons to the query processors and document sources.

MarkLogic:

1. Support stopping MarkLogic queries.
1. Support registering MarkLogic schema files.
1. Support for debugging MarkLogic XQuery-based queries.

eXist-db / FusionDB:

1. Detect FusionDB so it is correctly displayed in the query processor lists.
1. Display the log files in the Query Log panel.
1. Fixed calling APIs that require specific permissions that the query
processor user has.
1. Fix displaying `node()` and `function(*)` types in the query results view.

BaseX:

1. Fix validating beta releases in the query processor UI.

Run Configurations:

1. Fixed scrolling to an item in the results pane when the detected filetype
is plain text.
1. Fixed a null pointer exception when processing MarkLogic syntax error
responses.
1. Fixed navigating to module paths in query errors.
1. Add icons to the query processors.

Module Imports:

1. Support resolving MarkLogic imports from a configured database install path.
1. Support resolving imports from the Roxy `xquery.dir` property path.
1. Support resolving imports from the ml-gradle `mlModulePaths` property paths.

Endpoints:

1. Support autocompleting multi-valued `match-method` elements in MarkLogic rewriter files.
1. Support displaying MarkLogic rewriter files in the Endpoints tool window.
1. Support displaying EXQuery RESTXQ endpoints in the Endpoints tool window.

Documentation:

1. Fix the return type in the MarkLogic documentation.
1. Add icons to the documentation sources.

Code Completion:

1. Include declared variables without a namespace prefix in the completion list.

Inlay Parameter Hints:

1. Don't display a hint when the variable name matches the parameter name.
1. Don't display a hint when the path step element/attribute name matches the parameter name.
1. Don't display a hint when the forward/reverse step name matches the parameter name.
25 changes: 19 additions & 6 deletions src/main/resources/META-INF/plugin.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<idea-plugin xmlns:xi="http://www.w3.org/2001/XInclude">
<id>uk.co.reecedunn.intellij.plugin.xquery</id>
<!--suppress PluginXmlValidity -->
<name>xquery-intellij-plugin</name>
<name>XQuery IntelliJ Plugin</name>
<version>VERSION</version>
<vendor email="[email protected]" url="http://reecedunn.co.uk">Reece H. Dunn</vendor>
<category>XML</category>
Expand All @@ -18,18 +18,24 @@
<description><![CDATA[
<p>
XQuery 1.0-3.1, XPath 2.0-3.1, and XSLT 3.0 language support with BaseX,
MarkLogic, Saxon, and W3C extensions; run and profile queries; log viewer;
and more.
MarkLogic, Saxon, and W3C extensions; run, debug, and profile queries;
log viewer; and more.
</p>
<p>&#xA0;</p>
<p>Query processor integration:</p>
<ol>
<li>Run BaseX, eXist-db, MarkLogic, and Saxon queries.</li>
<li>Profile BaseX, MarkLogic, and Saxon XQuery and XSLT.</li>
<li>Run BaseX, eXist-db, FusionDB, MarkLogic, and Saxon queries.</li>
<li>Profile BaseX, MarkLogic, and Saxon XQuery and XSLT files.</li>
<li>Debug MarkLogic XQuery files, with experimental breakpoint support.</li>
<li>Log viewer for BaseX and MarkLogic.</li>
<li>Built-in namespace and function support for BaseX, eXist-db, MarkLogic, and Saxon.</li>
<li>Support for MarkLogic rewriter XML files and EXQuery RESTXQ endpoints.</li>
</ol>
<p>Library and Framework integration:</p>
<ol>
<li>MarkLogic Roxy &ndash; source root detection.</li>
<li>MarkLogic ml-gradle &ndash; source root detection.</li>
</ol>
<p>XPath and XSLT:</p>
<ol>
<li>XSLT 3.0 XMLSchema support.</li>
Expand Down Expand Up @@ -62,7 +68,14 @@
]]></description>

<change-notes><![CDATA[
<h3>Release 1.7-dev:</h3>
<h3>Release 1.7:</h3>
<ol>
<li>Display MarkLogic rewriter and EXQuery RESTXQ endpoints in IntelliJ Ultimate's Endpoint tool window.</li>
<li>Support for debugging MarkLogic XQuery-based queries, with experimental expression breakpoint support.</li>
<li>Improved eXist-db and FusionDB support.</li>
<li>Support for MarkLogic Roxy and ml-gradle project source root detection.</li>
<li>Add icons to the query processors and document sources.</li>
</ol>
<p>MarkLogic:</p>
<ol>
<li>Support stopping MarkLogic queries.</li>
Expand Down

0 comments on commit 500b5f3

Please sign in to comment.