Page 1 of 1

TM1 Rule Auto Complete & Format add-in for Editplus

Posted: Sun Oct 07, 2012 12:14 pm
by krishnadixit
Hi CPMians,

After developing "TM1 Documenter" software, I thought of having a customized add-in for Rules that would help us in saving time & understanding the rules better (atleast visually as compared to standard & advanced Rule Editor)

Although its an Add-in for Editplus (probably not much known to TM1 gurus & developers but other developers & progrmmers, specifically java programmers know Editplus very well), I am positive that you all would like it.

You may download latest version of Editplus from http://www.editplus.com

Features:
a) Color formatting for TM1 rules' reserved words.
b) TM1 Function Auto completion prompting for argument(s).
For example: If we want to use db function, in the editplus editor just type db & hit space.
The add-in will automatically print DB( cube, e1, e2, [...e256]);
This helps us in knowing what arguments, number of arguments, & other information is required for DB function.
Also after typing DB & hitting space, not only it displays above line, but it also places the current cursor just before
1st argument as "DB( <current cursor>" that helps us in typing / editing the arguments.

Here is the sample of TM1 rules that will look like in Editplus with my add-in:
TM1_Editplus_Addin.PNG
TM1_Editplus_Addin.PNG (42 KiB) Viewed 13915 times
How to use:
Assuming that Editplus software has been successfully installed on your machine.
1. Extract "TM1_Addin_4_Editplus.rar" to any folder, & copy all the files from that folder to Editplus installed folder.
By default it would be "C:\Program Files\EditPlus <version>\"
2. Now start Editplus software & from Menubar, click Document -> Permanent Settings. Preferences window will open.
3. Click "Add" button that is adjacent to File types window. Type "TM1Rules" without quotes. Hit Ok.
4. In File extensions text box type "rux" without quotes.
5. For syntax file, click button indicated by "..." without quotes, browse to "C:\Program Files\EditPlus <version>\" folder,
and select "tm1rules.stx" file. Hit Open.
6. Check Auto completion box, & browse to "C:\Program Files\EditPlus <version>\" folder, and select "tm1rules.stx" file.
TM1_Editplus_Options.PNG
TM1_Editplus_Options.PNG (17.66 KiB) Viewed 13915 times
TM1_Addin_4_Editplus.rar
(2 KiB) Downloaded 1097 times
Your suggestions & queries welcome. Please provide me feedback of this tool.

Re: TM1 Rule Auto Complete & Format add-in for Editplus

Posted: Mon Oct 08, 2012 7:39 am
by krishnadixit
Hi all,

I just thought of posting the link of video that will walk you through the demo of How to configure & use TM1 Rules Add-in for Editplus

http://youtu.be/765fm4MaqiU

Re: TM1 Rule Auto Complete & Format add-in for Editplus

Posted: Wed Oct 10, 2012 11:51 pm
by jameswebber
Thanks Krishna,
Another option is Notepad ++
Nova Hartanty lists the syntax highlighter file here: http://blog.tm1tutorials.com/2012/09/24 ... r-notepad/

Re: TM1 Rule Auto Complete & Format add-in for Editplus

Posted: Fri Aug 09, 2013 9:27 am
by Tm1andTm1
I am trying to add edit plus, But where is TM1_Addin_4_Editplus.rar file??

Re: TM1 Rule Auto Complete & Format add-in for Editplus

Posted: Fri Aug 09, 2013 9:45 am
by krishnadixit
Tm1andTm1 wrote:I am trying to add edit plus, But where is TM1_Addin_4_Editplus.rar file??
The file link is there in my first post.

However, here it is again for you.
TM1_Addin_4_Editplus.rar
TM1 Addin for Editpluss
(2 KiB) Downloaded 947 times

Re: TM1 Rule Auto Complete & Format add-in for Editplus

Posted: Fri Aug 09, 2013 11:17 am
by Tm1andTm1
Thank u so much Krishna......Now it is working fine