If you edit code with Visual Studio Code, install this extension which allows you to run XQuery and JavaScript queries against a MarkLogic database. It also adds syntax highlighting for the MarkLogic XQuery (version "1.0-ml") dialect. The GitHub repository README.md contains instructions for how to get started.

Features

  • Run XQuery code on a MarkLogic server with the “MarkLogic: Eval XQuery” command
  • Run JavaScript code on a MarkLogic server with the “MarkLogic: Eval JavaScript” palette command
  • XQuery-ML syntax highlighting (thanks to Paxton Hare’s Sublime plugin)
  • It’s asynchronous; long-running queries won’t freeze the editor
  • Changes to the configuration take immediate effect, switch databases and credentials on-the-fly
  • Readability: pretty-formatting of query results based on their contents

Visit the Repository

Learn More

Visual Studio Code

Visual Studio Code is a lightweight but powerful source code editor which runs on your desktop and is available for Windows, macOS and Linux. It comes with built-in support for JavaScript, TypeScript and Node.js and has a rich ecosystem of extensions for other languages (such as C++, C#, Java, Python, PHP, Go) and runtimes (such as .NET and Unity).

Visual Studio Marketplace

This tool is available on the Visual Studio Marketplace, where you can find thousands of extensions for the Visual Studio family of products.

Sublime Text Plugin

This tool was inspired by the Sublime Text Plugin. If you edit code with Sublime Text, check this plugin out.

This website uses cookies.

By continuing to use this website you are giving consent to cookies being used in accordance with the MarkLogic Privacy Statement.