MPS 2019.1 Help

Changes highlighting

Changes highlighting is a handy way to show changes which were made since last update from version control system.
The changes in models are highlighted in the following places:

Project tree view

Models, nodes, properties and references are highlighted.
green means new items, blue means modified items, brown means unversioned items.

dcg9xqzv 21f3zdn7cf b

Editor tabs

Highlighting appears for all of the editor tabs: for language aspect tabs of a concept and also for custom tabbed editors declared in plugin aspect of a language.

dcg9xqzv 28gs7n7wcv b

Editor

Every kind of changes are highlighted in MPS editor: changing properties and references, adding, deleting and replacing nodes.

dcg9xqzv 29cfvjnhc4 b

If you hover mouse cursor over the highlighter's strip on the left margin of editor, the corresponding changes become highlighted in editor pane.
If you want to have your changes highlighted in editor pane all the time (not only on hovering mouse cursor over highlighter's strip), you can select "Highlight Nodes With Changes Relative to Base Version" option in IDE Settings Editor.
dcg9xqzv 3049qhs4dr b

If you click on highlighter's strip on the left margin, there appears a panel with three buttons: "Go to Previous Change", "Go to Next Change" and "Rollback".
dcg9xqzv 31gt6sfhd4 b

If you click "Rollback", all the corresponding changes are reverted.
This feature allows you to freely make any changes to the MPS model in the editor without fear, because at any moment you can revert your changes conveniently right from the editor.

Last modified: 5 July 2019