MPS 2017.1 Help

Generator

File | Settings | Generator for Windows and Linux
MPS | Preferences | Generator for macOS
Ctrl+Alt+S

/help/img/idea/2017.1/settings.png
ItemDescription

General

Save transient models on generationIf this check box is selected, then MPS at each generation will ask whether the intermediate models should be kept. Keeping the models results in the ability to review the generation trace.
Check models for errors before generationIf this check box is selected, MPS launches the model checker before generation.
Strict modeIf this check box is selected, then additional limitations are introduced to the language generators, to enable incremental and parallel generation.
Generate in parallelIf this check box is selected, parallel generation of roots on the specified number of cores is enabled.
Use <n> coresSpecify here the number of cores to be used for parallel generation.

These check boxes are only available when Strict mode is selected.

Incremental generationIf this check box is selected, then MPS optimizes the number of the generated roots.
Cache intermediate modelsIf this check boxes is selected, then the intermediate models will be stored, which provides additional possibilities for the incremental generation, that is enables faster generation on account of disk space.

These check boxes are only available when Strict mode is selected.

Error reporting

Show information messagesIf this check box is selected, then generation information messages will be displayed in the Messages tool window. Clicking on an error message navigates to the corresponding location in the source code.

To provide the ability to navigate to an error in the source code, one has to preserve models containing errors (by default, these models are discarded).

Show warningsIf this check box is selected, MPS displays both error messages and warnings.
Keep transient models with warningsIf this check box is selected, the specified number of the intermediate models containing warnings are preserved. However, enabling this option results in heavy usage of the disk space.

Otherwise, the intermediate models with no errors are discarded.

Maximum number of transient models to keepSpecify the maximum number of intermediate generated models to be kept.

These check boxes are only available when Show warning is selected.

Model generation performance report

NoneIf this option is selected, no report is displayed after each model generation.
Generation steps onlyIf this option is selected, time spent for each model generation is displayed.
Time spent in language generatorsSelecting this option enables you to evaluate which languages slow down generation.
Time spent in types calculationSelecting this option enables you to optimize the usage of type systems in the generators.

TextGen Options

Fail if textgen not foundIf this check box is selected, an error is reported, if textgen file is not found.

The latest intermediate model is saved as a text file. By default, if conversion to text is not defined, this file contains the text "textgen not found".

Generate debug informationIf this check box is selected, MPS create trace.info file for each model. containing information for the MPS debugger.

See Also

External Links:

Last modified: 3 August 2017