You can see that now I’ve a dockable window in the right side (snippet plus)
So let’s say that I don’t know the syntax for @DECLINE, so I double clicked on @DECLINE from the selection panel and this will give you the syntax for @DECLINE. I’ve added something extra into the syntax box, you can now see a url as a second line with the syntax(this is directly linked to Oracle.com so if they change the link don’t blame me :)), double click it and that will launch the techref page of @DECLINE 😉
So read…understand and then write the code :). I added it there because sometimes just the syntax is not enough and I don’t want to go through the entire pdf looking around for the function. (you get only what you need)
This feature is added for all the commands that has a Techref page. (to enable the clickable link setting in Notepad++ go to preferences –> MISC)
That’s it you can now carry all the functions without having Essbase or EAS. I’ve added DATAEXPORT, RETURN and some SET options which will not show up in EAS!!!!. I had to remove the Mathematical operators (like * – + / %) and Boolean ones (>= <= == <> !=) they were giving me alignment issues, somewhere coming at the top and some after @functions (I probably think it’s because of < and > tags that I used).
After adding SnippetPlus plugin, there will be a file called SnippetPlus.xml, in Notepad++ config folder (pluginsconfig). Replace that one with the one you downloaded. Restart Notepad++.
You’ve to un-check “Use Surround With” radio button to get the syntax of all commands (MaxL, Calc scripts, MDX)
“Use Surround With” to use surround with functions.
I would like to thank Rajesh Kumar who is the Author of SnippetPlus and Chris Covier from NotePad++ team for their unextended support.
P.S. There is a limitation where if you select a user-defined language sinppetplus will not change automatically (this is because all the user-defined language in Notepad++ is internally referred as USER).
I don't seem to see the Config folder under Notepad++ home to place this XML.??
Sri
you'll have to use unicode version of Notepad++, launch notepad++.exe, go to Pulgins–>Plugin Manager and install SnippetPlus. This will create the config folder.
Hmm interesting, ok can you try the zip version. that is just an extract and run type of file. http://download.tuxfamily.org/notepadplus/5.9.3/npp.5.9.3.bin.zip
this works like a charm!.. very much useful. many thanks Mate!
sriram
do we have FIX, IF, IFF,etc? i don't see them, do we need to put that back in XML?, i can research from here.
thanks,
Sri
It has all the commands that comes with EAS and much more 🙂
You can uncheck the radio button on Use Surround With and it'll open up the syntax for all Calc, Maxl, Mdx commands.
yes you have to replace the existing snippetplus xml file with this one.
U rock man…! God bless you….
Hi there,
Seem to have problems getting this to run. Using XP Sp3, .net 3.5 SP1, Notepad++ 5.9.3 downloaded today from SourceForge. Error message when starting Notepad is
SnippetPlus.dll Fail Loaded
This plugin is not compatible with this version of Notepad++
SnippetPlusPlus This ANSI plugin is not compatible with your Unicode Notepad++
Did you use Snippet V 1.3? Any other suggestions please?
Please download the zip file instead of the exe.
I figured out the root cause of Sri's issue.
When you install Notepad++, you can choose whether the Config folder is saved within the Notepad++ folder (i.e. "Roaming" option, which allows you to store Notepad++ on a flash drive), or instead whether you want it to be saved in %APPDATA%Notepad++.
If you chose the latter, you need to go to "Run" | "%APPDATA%Notepad++" | "Plugins" | "Config" and save the SnippetPlus.XML file in that folder.
This will be very helpful CV, thank you!
Oh I forgot about that one…good catch there "The DH"
OK, figured out my issue above. Turns out I had not placed the SnippetPlusPlus into the correct folder. (Doh!)
There are installation instructions in the readme numbered 1 to 3… lesson 1 – read them!
Actually both the exe and zip versions seem to accommodate snippet nicely. Will now install the xml and continue…
Thanks for the effort and sharing the result. Sterling stuff. – Regards – Chris
Chris, you can choose PluginManger to do the installation for you. But if you opt to do it manually, yes you've to go through the readme 🙂
Thanks
Celvin,
interestingly the installer for Notepad++ does not create the Config Folder, i downloaded the notepad++ from
http://notepad-plus-plus.org/download/v5.9.3.html
any idea why?
CV, What xml files do I need for the Essbase CMD, MAXL etc to show up in the Snippet pane??
It is called as SnippetPlus.xml and you can download it from the link given in this blog
Hi CV, Thank you for the prompt response. I got SnippetPlus installed and also have EssbaseCalc as the language under Language pull down. How do I get EssbaseCalc as selectable language now in Snippetplus? Do I need to copy code from EssbaseCalc xml file to Snippetplus xml file?
Hi Pj
Can you see the dock-able SinppetPlus window in right hand side? If not go to Plugins -> SnippetPlus -> Dock SnippetPlus
You can uncheck "Use Surround With" option which you can find in the corner of SnippetPlus
Hi CV, yes, I have the SnippetPlus window docked and Use Surround with unchecked. Now I see other languages in the SnippetPlus drop down, but not EssbaseCalc, MXL and MDX…..I will have to add those in SnippetPlus xml file manually, correct?
Hi PJ, did you download the file that is given in this blog? that one has all the commands.
Great information, thanks for posting.
Celvin,
This link for downloading the Essbase snippet from (here) seems to have expired.
Any chance I can get this file from other location or if possible you can refresh this link.
Please let me know.
@anon, it works fine. Maybe there is a firewall which is blocking you from accessing the link.
Current version is not working , do you SnippetPlus compatible version for Notepad++ v6.2.2 Usb version. Anand
Hi CK,
Can you please re upload the SnippetPlus.xml file the link which you have given is not working please help me on this.
It is fixed now.