I just finished creating the highlighting for MDX and MAXL commands. So with this now, you can highlight Essbase Calculation scripts, Maxl Scripts and MDX commands(Hyperion version)
I’ve tried to include almost all commands to this, please let me know if I missed any.
Installation instructions
Follow the instructions below if Notepad++ is installed on your system (not running from a folder)
- Download the xml file to your computer. (Right Click the link and use “Save Link as…” option)
- Click start, run, type (or paste in) %APPDATA%Notepad++ (this will be the folder where you have config.xml) then click ok.
- Open userDefineLang.xml with a text editor. If it does not exist, simply download/save the one you downloaded to this folder and rename it to userDefineLang.xml, you’re done!
- If you have an already defined User Language, open the file with your favourite text editor (such as notepad++ or notepad).
- Simply copy everything from the first file starting at <UserLang…> to </UserLang> and paste it at the end of the userDefineLang.xml right before </NotepadPlus>
- Save the newly improved userDefineLang.xml
- Restart Notepad++
Follow the instructions below if Notepad++ is run from a folder (Portable)
- Download the xml file to your computer. (Right Click the link and use “Save Link as…” option)
- Go to root folder of Notepad++(this will be the folder where you have config.xml) t
- Open userDefineLang.xml with a text editor. If it does not exist, simply download/save the one you downloaded to this folder and rename it to userDefineLang.xml, you’re done!
- If you have an already defined User Language, open the file with your favourite text editor (such as notepad++ or notepad).
- Simply copy everything from the first file starting at <UserLang…> to </UserLang> and paste it at the end of the userDefineLang.xml right before </NotepadPlus>
- Save the newly improved userDefineLang.xml
- Restart Notepad++
Follow the instructions below if you are using Portable Apps’s Notepad++
- Download the xml file to your computer. (Right Click the link and use “Save Link as…” option)
- Navigate to Notepad++PortableDataConfig.
- Open userDefineLang.xml with a text editor. If it does not exist, simply download/save the one you downloaded to this folder and rename it to userDefineLang.xml, you’re done!
- If you have an already defined User Language, open the file with your favourite text editor (such as notepad++ or notepad).
- Simply copy everything from the first file starting at <UserLang…> to </UserLang> and paste it at the end of the userDefineLang.xml right before </NotepadPlus>
- Save the newly improved userDefineLang.xml
- Restart Notepad++
Hope it helps
It says Maxl, MDX and Essbase Calculation Scripts. I don't see it working for Calc Scripts. Am I doing something wrong?
After importing the xml can you see ESSBASE_CALC in the language drop down?
Select that one and it should work.
That's an excellent work, I only found that the @RETURN function is missing and that when you have an operator and a numer without a space between them it fails to highlight both the number and the operator. It happens sometimes also in other situazions in whith a space is missing.
Anyway, very useful!
@RETURN is included, however the space issue is still there. Notepad doesn't allow to use custom operators to define as active operators. So that's the reason why it is not getting highlighted. You've to have spaces 🙂
I see. No problem, I usually put spaces anyway, it makes the script longer but cleaner 🙂