eazyBI MDX
eazyBI MDX syntax highlighting for Sublime Text.
Details
Installs
- Total 79
- Win 32
- Mac 37
- Linux 10
| Oct 7 | Oct 6 | Oct 5 | Oct 4 | Oct 3 | Oct 2 | Oct 1 | Sep 30 | Sep 29 | Sep 28 | Sep 27 | Sep 26 | Sep 25 | Sep 24 | Sep 23 | Sep 22 | Sep 21 | Sep 20 | Sep 19 | Sep 18 | Sep 17 | Sep 16 | Sep 15 | Sep 14 | Sep 13 | Sep 12 | Sep 11 | Sep 10 | Sep 9 | Sep 8 | Sep 7 | Sep 6 | Sep 5 | Sep 4 | Sep 3 | Sep 2 | Sep 1 | Aug 31 | Aug 30 | Aug 29 | Aug 28 | Aug 27 | Aug 26 | Aug 25 | Aug 24 | |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Windows | 0 | 0 | 0 | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
| Mac | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 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 | 1 | 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.