Solutions

MarkLogic Data Hub Service

Fast data integration + improved data governance and security, with no infrastructure to buy or manage.

Learn More

Learn

Stay On Top Of Everything MarkLogic

Be the first to know! News, product information, and events delivered straight to your inbox.

Sign Me Up

Community

Stay On Top Of Everything MarkLogic

Be the first to know! News, product information, and events delivered straight to your inbox.

Sign Me Up

Company

Stay On Top Of Everything MarkLogic

Be the first to know! News, product information, and events delivered straight to your inbox.

Sign Me Up

mlxprs

down arrow Code & Downloads

A MarkLogic Visual Studio Code extension

If you edit code with Visual Studio Code, you'll probably find this useful.

Features

  • Run XQuery code on a MarkLogic server with the "MarkLogic: Eval XQuery" command
  • Run JS code on a MarkLogic server with the "MarkLogic: Eval JS" 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

Stack Overflow iconStack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.

Comments

The commenting feature on this page is enabled by a third party. Comments posted to this page are publicly visible.
  • This might be a really basic question, but while configuring settings.json to use a different host and port, which port should I specify? AFAIK, 8000 is the default query console, 8001 is the admin console and 8010 is my rest app server port. I have tried all three with no luck. TIA!
    • You might want to reach out by opening an issue on GitHub rather than here, to be sure to catch the attention of the project owner. If you do, you should include details on the type of failure you're getting. I am not familiar with the mlxprs project, so I can't really help, but on MarkLogic 8 and later, port 8000 is an enhanced App Server that can handle HTTP and XDBC requests, as well as serving as a REST API instance for use with the REST, Java and Node.js Client APIs. QC access is just one service available on port 8000. It is configured to use the Documents database.