Changes

Jump to navigation Jump to search
448 bytes removed ,  10:03, 21 August 2019
no edit summary
* In the ''Manage Query Processors'' dialog, click on the {{Code|+}} button.
* In the ''New Query Processor Instance'' dialog, set the following preferences:
** <code>Name Description = BaseX</code> (optional; if you leave this field blank, <code>[Implementation] [Version]</code> will be used as namedescription)
** <code>Implementation = BaseX</code> (should be preset!)
** <code>JAR File = BaseX.jar</code> (name and location of the JAR file may differ depending on your BaseX distribution and version)
==Conclusion==
The plugin is very well maintained! It adds support for various XQuery Implementations to the IntelliJ IDEA (among them BaseX). It provides syntax highlighting for XQuery and XML , code completion and detects syntactical errors while you type offering a description for each error. Queries are executed using Run Configurations for which you can configure various query processors, e.g. BaseX.
The plugin contains some minor flaws regarding the static binding use of BaseX namespacesfunctions declared in user-defined modules. A few namespaces Such functions are not included in the code completion list and marked as unknown in the code, however. However, query execution in the BaseX backend works fine in spite of them. Also, the IntelliJ ''Find Usages'' and ''Go To'' options did not work as expected in some cases, especially with regard to functions and across modules. The plugin does not yet include a code completion feature. Note that the usage of functions from imported or declared namespaces that do not exist in the namespace might not be marked as unknown. To highlight invalid functions, you may enable the ''XPath and XQuery > XPST: XPath static errors > XPST0017: Undefined function'' inspection in the ''Editor > Inspections'' sectionnonetheless.
=XQuery Support Plugin=
administrator, editor
162

edits

Navigation menu