{"id":17289142,"url":"https://github.com/rhdunn/xquery-intellij-plugin","last_synced_at":"2025-08-03T06:39:06.656Z","repository":{"id":9463452,"uuid":"62201764","full_name":"rhdunn/xquery-intellij-plugin","owner":"rhdunn","description":"XQuery, XPath and XSLT Language Support for the IntelliJ IDE","archived":false,"fork":false,"pushed_at":"2025-04-03T08:47:44.000Z","size":47239,"stargazers_count":26,"open_issues_count":52,"forks_count":7,"subscribers_count":8,"default_branch":"master","last_synced_at":"2025-04-03T09:33:51.804Z","etag":null,"topics":["basex","exist-db","intellij","intellij-ide","marklogic","saxon","xpath","xpath-ng","xquery","xquery-intellij-plugin","xquery-support","xslt"],"latest_commit_sha":null,"homepage":"https://rhdunn.github.io/xquery-intellij-plugin/","language":"Kotlin","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rhdunn.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":"AUTHORS","dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-06-29T06:33:51.000Z","updated_at":"2025-04-03T08:47:58.000Z","dependencies_parsed_at":"2024-02-29T21:27:22.549Z","dependency_job_id":"d157bde6-2ad2-4224-813c-136d0b3371d6","html_url":"https://github.com/rhdunn/xquery-intellij-plugin","commit_stats":null,"previous_names":[],"tags_count":36,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rhdunn%2Fxquery-intellij-plugin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rhdunn%2Fxquery-intellij-plugin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rhdunn%2Fxquery-intellij-plugin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rhdunn%2Fxquery-intellij-plugin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rhdunn","download_url":"https://codeload.github.com/rhdunn/xquery-intellij-plugin/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248505929,"owners_count":21115354,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["basex","exist-db","intellij","intellij-ide","marklogic","saxon","xpath","xpath-ng","xquery","xquery-intellij-plugin","xquery-support","xslt"],"created_at":"2024-10-15T10:33:44.501Z","updated_at":"2025-08-03T06:39:06.492Z","avatar_url":"https://github.com/rhdunn.png","language":"Kotlin","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Build Status](https://github.com/rhdunn/xquery-intellij-plugin/workflows/build/badge.svg)](https://github.com/rhdunn/xquery-intellij-plugin/actions)\n[![JetBrains Plugin](https://img.shields.io/jetbrains/plugin/v/8612-xquery-intellij-plugin.svg)](https://plugins.jetbrains.com/plugin/8612-xquery-intellij-plugin)\n[![JetBrains Plugin Downloads](https://img.shields.io/jetbrains/plugin/d/8612-xquery-intellij-plugin.svg)](https://plugins.jetbrains.com/plugin/8612-xquery-intellij-plugin)\n[![GitHub Issues](https://img.shields.io/github/issues/rhdunn/xquery-intellij-plugin.svg)](https://github.com/rhdunn/xquery-intellij-plugin/issues)\n\n\u003cimg src=\"images/xquery-intellij-plugin.png\" alt=\"Syntax Highlighting\" width=\"60%\" align=\"right\"/\u003e\n\n- [XQuery and XSLT](#xquery-and-xslt)\n  - [Overview](#overview)\n  - [Query Processor and Database Integration](#query-processor-and-database-integration)\n  - [Libraries and Frameworks](#libraries-and-frameworks)\n  - [IntelliJ Integration](#intellij-integration)\n- [Building](#building)\n  - [Gradle](#gradle)\n  - [Java](#java)\n  - [IntelliJ](#intellij)\n- [License](#license)\n\n## XQuery and XSLT\n\n### Overview\n\nThis is a plugin for the IntelliJ IDE that adds support for the XML Query (XQuery) and\nXML Path (XPath) languages. This covers support for:\n1.  XPath 2.0, 3.0, and 3.1;\n1.  XQuery 1.0, 3.0, and 3.1;\n1.  XQuery and XPath Full Text extension;\n1.  XQuery Update Facility 1.0, and 3.0 extension;\n1.  XQuery Scripting extension;\n1.  EXPath extensions;\n1.  BaseX, MarkLogic, and Saxon vendor extensions.\n\nThis plugin also has limited support for the following XML-based\nlanguages that use XPath:\n1.  XSLT 1.0-3.0 (active when the IntelliJ XPathView plugin is disabled);\n1.  XProc 1.0-3.0.\n\nSee https://rhdunn.github.io/xquery-intellij-plugin/ for the plugin documentation\nand tutorials.\n\nThe latest development version of this plugin supports IntelliJ 2022.3 \u0026ndash; 2025.1.\nOlder versions of the plugin are compatible with older versions of IntelliJ.\n\n### Query Processor and Database Integration\n\nThis plugin provides support for the following implementations of XQuery:\n1.  BaseX 7.0 \u0026ndash; 9.3;\n1.  eXist-db 4.4 \u0026ndash; 5.3;\n1.  FusionDB alpha;\n1.  MarkLogic 8.0 \u0026ndash; 10.0;\n1.  Saxon 9.2 \u0026ndash; 10.0.\n\nFor those XQuery implementations, this plugin supports:\n1.  Running XQuery, XSLT, XPath, SPARQL, SQL, and JavaScript queries where\n    supported by the implementation;\n1.  Profiling XQuery and XSLT queries;\n1.  Debugging MarkLogic XQuery-based queries, with expression breakpoint\n    support;\n1.  Viewing access and error log files.\n\nThis plugin provides additional integration support for the following query\nprocessor file types and standards:\n1.  MarkLogic rewriter XML files;\n1.  EXQuery RESTXQ 1.0.\n\n### Libraries and Frameworks\n\nThis plugin adds support for the following project frameworks:\n1.  MarkLogic Roxy \u0026ndash; source root detection;\n1.  MarkLogic ml-gradle \u0026ndash; source root detection.\n1.  Support running and profiling XRay unit tests.\n\n### IntelliJ Integration\n\nThis plugin provides support for the following IntelliJ features:\n1.  Resolving URI string literal, function, and variable references;\n1.  Code folding;\n1.  Find usages and semantic usage highlighting;\n1.  Rename refactoring for variables;\n1.  Code completion;\n1.  Parameter information;\n1.  Parameter inlay hints;\n1.  Structure view;\n1.  Breadcrumb navigation, including highlighting XML tags in the editor like\n    the IntelliJ XML plugin;\n1.  Paired brace matching;\n1.  Commenting code;\n1.  Integrated function documentation (\"Quick Documentation\", Ctrl+Q);\n1.  Context information (Alt+Q) for XQuery function declarations;\n1.  Spellchecking support with bundle dictionaries with XPath, XQuery, and XSLT\n    terms.\n1.  Language injection support on various elements, including string literals.\n\nThe plugin also supports the following IntelliJ Ultimate features:\n1.  Support displaying MarkLogic rewriter files in the Endpoints tool window;\n1.  Support displaying EXQuery RESTXQ endpoints in the Endpoints tool window.\n\n## Building\n\n### Gradle\n\nThis project uses `gradle`. It requires gradle 8.5 or later. You can then use:\n\n- `gradle ...`.\n\nIf you open the project in IntelliJ it will install and configure the gradle wrapper\nfor you. You can then use:\n\n- `./gradlew ...` if using a bash or similar shell;\n- `gradlew.bat ...` if using Windows.\n\n### Java\n\nThe Java version depends on the version of IntelliJ being targeted:\n\n- IntelliJ 2022.3 - 2024.1 require Java 17;\n- IntelliJ 2024.2 - 2025.2 require Java 21.\n\nIn IntelliJ you need to specify the `Gradle JVM` property (File | Settings |\nBuild, Execution, Deployment | Build Tools | Gradle) to that Java version.\n\n### IntelliJ\n\nThe version of IntelliJ to build can be configured as follows:\n\n| Environment Variable | System Property    | Default  | Description             |\n|----------------------|--------------------|----------|-------------------------|\n| `IDEA_TYPE`          | `platform.type`    | `IU`     | IntelliJ platform type. |\n| `IDEA_VERSION`       | `platform.version` | `2025.1` | IntelliJ version.       |\n\nThe following are some useful gradle tasks:\n\n- `:buildPlugin` -- build the plugin to the `build/distributions` directory;\n- `:runIde` -- run an instance of the specified IntelliJ IDE with the plugin installed;\n- `check` -- run the tests.\n\n## License\n\nCopyright (C) 2016-2025 Reece H. Dunn\n\nThis software and document includes material copied from or derived from the\nXPath and XQuery specifications. Copyright © 1999-2017 W3C® (MIT, ERCIM, Keio,\nBeihang).\n\nThe IntelliJ XQuery Plugin is licensed under the [Apache 2.0](LICENSE) license.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frhdunn%2Fxquery-intellij-plugin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frhdunn%2Fxquery-intellij-plugin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frhdunn%2Fxquery-intellij-plugin/lists"}