MarkLogic Data Hub Service

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

Learn More


Stay On Top Of Everything MarkLogic

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

Sign Me Up


MarkLogic World 2019

Learn how to simplify data integration & build innovative applications. Join us in Washington D.C. May 14-15!

Find Out More


Stay On Top Of Everything MarkLogic

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

Sign Me Up

Sublime Text Plugin

down arrow Code & Downloads

Paxton's awesome Sublime Text Plugin.

If you edit code with Sublime Text 2 or 3 be sure to install this plugin.


  • XQuery syntax highlighting
  • MarkLogic Function Autocomplete - Autocompletes with stubbed parameters. Never forget which param goes where again.
  • Xquery Lint - This will save you hours of debugging. Highlights the line and underlines the offending bit of code.
  • Run your code on the server - Ctrl+alt+r will execute your code on the server. Saves you a trip to Qconsole
  • Open - Put your cursor on a function in your code and press the hotkey. A new browser tab is opened to the docs page.
  • Code snippets - Common used patterns are available: if, typeswitch, etc.
  • Autocomplete for common, annoying things - Stop trying to remember paths for import statements. Start typing to see a list of all the MarkLogic imports. Select one and it gets inserted into your code.
  • Plays nice with Roxy - The plugin can use your Roxy properties files to determine which server to use for linting and running code.

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


The commenting feature on this page is enabled by a third party. Comments posted to this page are publicly visible.
  • The search paths option seems interesting, if I understand correct I do not need to deploy a lib ik I can override it with my local copy. But again no example documentation makes it hard to use this feature. Anyone? Much appreciated.
    • Not sure how that works, but take a look at the README. If that doesn't help, your best bet is to submit an issue on GitHub asking for documentation that addresses your question.
      • Hi David, I have done both ... ;-) See <a href=""> Issue #39 </a>
  • Hi guys, I cannot seem to get the plugin to work with roxy... any example settings that work for roxy projects?
    • Hugo, take a look at <a href="">the project's README on GitHub</a>. Paxton shows sample settings there.
      • Hi David, exactly , so the example in the README the xcc settings only work if I fill in all details including ports and databases... but imho that is exactly the part that should roll out of the roxy settings right...? In my mind I should only tell sublime I am inside a roxy project so I can tell it to use the 'local' settings and off we go... So apparently I am missig something. My question here is: Does anyone have a ML-sublime-settings that works and actually uses the roxy settings e.g. the port and db details from 'local' in roxy ...