Full syntax highlighting for .xq, .xqy, .xquery, .xql, .xqm and .xsl, .xslt files with theme-aware colors for light and dark modes. Variables, functions, types, keywords, and operators are all distinctly colored.
Language Server Protocol (LSP) integration performs live static analysis of XQuery files and surfaces errors instantly in the Problems panel. Catches syntax and type errors before you even run the code.
Curated XQuery snippets (FLWOR, module namespace, imports, function declarations) and XSLT snippets (stylesheets 2.0/3.0, templates, for-each, if, choose) for rapid scaffolding. Just type the trigger prefix and press Tab.
3 000+ built-in MarkLogic functions available as completions, triggered automatically by : and -. Each completion shows the full signature and documentation inline.
Hover over any MarkLogic built-in function to see its signature, parameters, return type, and usage examples in a rich tooltip. Works both in XQuery files and in build.gradle for MLCP/CoRB properties.
Autocomplete and hover for MLCP (IMPORT / EXPORT / COPY properties) and CoRB task properties directly inside build.gradle. Each suggestion includes type, valid values, and examples.
Describe your query in plain English and AI generates optimized XQuery code in a side panel with a one-click copy button. Saves hours on complex FLWOR expressions and MarkLogic API calls.
Select any XQuery block and get an AI-powered plain-English explanation covering constructs, purpose, and potential gotchas — displayed in a side panel. Also available via right-click context menu.
Hover over a syntax error underline to get an AI-generated explanation of why the error occurs and a concrete fix suggestion. Eliminates the need to look up cryptic error messages in documentation.
Interactively build MarkLogic Content Pump (MLCP) Gradle tasks for CSV, TSV, JSON, XML import, or export — right inside VS Code. Prompts for task name, database, collection, batch size, threads, and transaction size.
Generates Content on Request (CoRB) Gradle task definitions interactively — choose module-based or file-based URIs, thread count, and optional export file. Produces a fully configured task block in seconds.
Right-click any function or variable in XQuery and jump directly to its definition across all XQuery module files in the workspace. Works for user-defined functions and imported module members.
Lists every reference to a symbol across the workspace in a dedicated References panel via right-click context menu. Ideal for refactoring or understanding the blast radius of a change.
Execute any .xqy file directly against a configured MarkLogic server from the Explorer or editor context menu and see results in the output panel. No separate client or tooling required.
A full-featured Activity Bar query editor for writing and running XQuery, JavaScript, SQL, or SPARQL directly against MarkLogic's REST API — without leaving VS Code. Supports F5 / Ctrl+Enter to run, partial-selection execution, on-demand database refresh, and Copy URI hover button in the document explorer.
Switch, create, clone, and delete named query workspaces via the Workspace menu in the Queries rail — each with its own set of tabs and active state. Export all workspaces to XML or import from XML / legacy JSON for team sharing and backup.
Automatically scans all build.gradle files in the workspace and lists every MLCP and CoRB task in organized tables with type badges. No manual configuration needed.
Run tasks with DEV, PROD, or LOCAL environment buttons that spawn a terminal automatically. Shows real-time animated running status and prevents duplicate task executions.