Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
mscripteditor [2017/12/22 02:20] admin [Editing Triggers] |
mscripteditor [2020/05/10 03:08] admin removed |
||
---|---|---|---|
Line 13: | Line 13: | ||
//MScript Editor// is a tab which can be placed in any of the 3 panes. | //MScript Editor// is a tab which can be placed in any of the 3 panes. | ||
- | When you click /select a state or transition, //MScript Editor// automatically loads the mscript | + | When you click /select a state or transition, //MScript Editor// automatically loads the MScript |
Changes are automatically pushed to the server when you move focus to other tabs in the IDE. | Changes are automatically pushed to the server when you move focus to other tabs in the IDE. | ||
Line 54: | Line 54: | ||
====Code Assist==== | ====Code Assist==== | ||
- | //Code Assist// is supported. | + | //Code Assist// is supported. |
Line 60: | Line 60: | ||
- | For example, if the cursor is on a blank line, the //Code Assist// list will be populated with list of mscript | + | For example, if the cursor is on a blank line, the //Code Assist// list will be populated with list of MScript |
Below are the description of different //Code Assist// context supported with //ctrl - space// pressed: | Below are the description of different //Code Assist// context supported with //ctrl - space// pressed: | ||
- | * on a blank line - brings up the list of mScript | + | * on a blank line - brings up the list of MScript |
- | * in an attribute value (between double quotes), code assist brings up the list of mScript | + | * in an attribute value (between double quotes), code assist brings up the list of MScript |
- | With // | + | With // |
Line 131: | Line 131: | ||
---- | ---- | ||
- | ====MScript Macro==== | ||
- | You may define a set of macros to encapsulate a set of frequently used MScript. This is done via editing the // | ||
- | |||
- | You may add tooltip to each of the macro by appending // | ||
- | |||
- | Macro file // | ||
- | |||
- | | ||
- | |||
- | To call up macros, press //ctrl+M// (or //alt+M//). | ||
- | |||
- | ---- | ||
====Requirements Tags==== | ====Requirements Tags==== | ||
Line 156: | Line 144: | ||
< | < | ||
- | * you can add as many comments you would like anywhere in the mscript | + | * you can add as many comments you would like anywhere in the MScript |
* you can continue to use //comment// parameter, but commenting using xml comment tag is recommended. | * you can continue to use //comment// parameter, but commenting using xml comment tag is recommended. | ||
* you may have the comments written out to an output file as MScript is executed. By default writing comments to an output file is off. It can be turned on with MScript function // | * you may have the comments written out to an output file as MScript is executed. By default writing comments to an output file is off. It can be turned on with MScript function // | ||
Line 181: | Line 169: | ||
The system collects the number of times each MScript tag is executed. | The system collects the number of times each MScript tag is executed. | ||
- | The coverage metrics are then displayed with two additional | + | The coverage metrics are then displayed with two additional |
* // | * // | ||
* // | * // | ||