TM1 Rule Auto Complete & Format add-in for Editplus
Posted: Sun Oct 07, 2012 12:14 pm
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: 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. Your suggestions & queries welcome. Please provide me feedback of this tool.
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: 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. Your suggestions & queries welcome. Please provide me feedback of this tool.