This repository contains the language support tools for JSONiq and XQuery, primarily powered by RumbleDB.
- Syntax highlighting for JSONiq (
.jq) and XQuery (.xq) - Code completion and hover documentation
- Diagnostics and syntax error reporting
- Enhanced language support via the RumbleDB Java wrapper
This is a monorepo managed with pnpm, containing the following packages:
jsoniq-language-server: The Language Server Protocol (LSP) implementation for JSONiq and XQuery.rumble-lsp-wrapper: A Java-based wrapper providing advanced LSP capabilities by directly leveraging the RumbleDB engine.jsoniq-vscode: The Visual Studio Code extension providing IDE integration.
-
Install dependencies:
pnpm install
-
Generate the language grammar files:
pnpm run generate:grammar
-
Build all packages:
pnpm run build
pnpm run build: Builds the wrapper, language server, and client.pnpm run clean: Cleans thedistfolders and Javatargetdirectories.pnpm run lint: Lints the codebase usingoxlint.pnpm run fmt: Formats the codebase usingoxfmt.pnpm run test: Runs the test suite for the language server.
This project is licensed under the Apache License 2.0. See the LICENSE file for details.