eazyBI MDX
eazyBI MDX syntax highlighting for Sublime Text.
Details
Installs
- Total 83
- Win 36
- Mac 37
- Linux 10
| Nov 22 | Nov 21 | Nov 20 | Nov 19 | Nov 18 | Nov 17 | Nov 16 | Nov 15 | Nov 14 | Nov 13 | Nov 12 | Nov 11 | Nov 10 | Nov 9 | Nov 8 | Nov 7 | Nov 6 | Nov 5 | Nov 4 | Nov 3 | Nov 2 | Nov 1 | Oct 31 | Oct 30 | Oct 29 | Oct 28 | Oct 27 | Oct 26 | Oct 25 | Oct 24 | Oct 23 | Oct 22 | Oct 21 | Oct 20 | Oct 19 | Oct 18 | Oct 17 | Oct 16 | Oct 15 | Oct 14 | Oct 13 | Oct 12 | Oct 11 | Oct 10 | Oct 9 | Oct 8 | |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Windows | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
| Mac | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
| Linux | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Readme
- Source
- raw.githubusercontent.com
eazyBI MDX for Sublime Text
Syntax highlighting for eazyBI calculated measures and members in Sublime Text.
This package supports Multidimensional Expressions (MDX), the language used to query OLAP cubes. For the supported eazyBI functions, see the MDX function reference. Markdown + JSX is a different language that also uses the .mdx extension.
Highlighting
- eazyBI and MDX functions, including
Sum,Filter,CatchException,DateInPeriod, andCast. - Control keywords such as
CASE,WHEN,THEN,ELSE, andEND. - Identifiers, brackets, numbers, quoted strings, and arithmetic and logical operators.
--line comments and inline or multiline/* ... */block comments.
Tested with Sublime Text 4215, including 23 block-comment regression assertions and a visual check. Colors depend on your selected color scheme.

The screenshot uses example.mdx, a calculated-measure example for an eazyBI Jira cube.
Installation
Package Control (recommended)
If needed, install Package Control first.
- Open the Command Palette:
Cmd+Shift+Pon macOS, orCtrl+Shift+Pon Windows and Linux. - Select
Package Control: Install Package. - Search for eazyBI MDX and select it.
- Open a
.mdxfile. The syntax name is MDX; if another package handles this extension, chooseView > Syntax > MDX.
Manual installation
- Download MDX.sublime-syntax.
- In Sublime Text, choose
Preferences > Browse Packages. - Create a folder named
eazyBI MDXthere and putMDX.sublime-syntaxinside it. - Open a
.mdxfile and selectView > Syntax > MDXif needed.
A manual eazyBI MDX folder takes precedence over the Package Control version. Remove that folder when you want to use Package Control updates again.
Contributing
Open an issue or submit a pull request. For a highlighting bug, include:
- Your Sublime Text build, operating system, and eazyBI MDX package version.
- A minimal MDX example that reproduces the problem.
- The expected highlighting and what you see instead; a screenshot can help.
- Confirmation that the active syntax is MDX.
Run the syntax tests
- Choose
Preferences > Browse Packagesand create or open theeazyBI MDXfolder. - Copy
MDX.sublime-syntaxandsyntax_test_comments.mdxfrom your checkout into that folder. - Open the copied
syntax_test_comments.mdxin Sublime Text. - Choose
Tools > Build System > Syntax Tests, thenTools > Build(Cmd+Bon macOS;Ctrl+Bon Windows and Linux). - Check the output panel for passing results. The current block-comment fixture contains 23 assertions.
Keep the folder name exactly eazyBI MDX: the test header references Packages/eazyBI MDX/MDX.sublime-syntax. After editing the syntax or fixture, update the copies before rerunning the tests. See Sublime Text's syntax-test documentation for the assertion format.
Open example.mdx for a visual check as well: line and block comments should use comment colors, quoted text should use string colors, and highlighting should resume after */.
License
MIT.