Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

or in a on-the-fly mode directly in the editor by colorful symbols and code underlines:

Severity

MPS distinguishes problems by severity:

  • errors - displayed in red
  • warnings - displayed in yellow
  • infos - displayed in grayish

The jetbrains.mps.lang.typesystem language offers corresponding statements, plus a statement ensure, which gives the user a more succinct syntax to report an error in case a condition is not met:

Image Added

Checking rules typically check for one or a few related issues in a given node or a small part of the model and report to the user, if a problem is discovered:

Image Added

Quick-fixes

A quick-fix may be associated with each reported problem through the Inspector tool window. A quick-fix provides a single model-transforming function, which will automatically eliminate the reported problem:

Image Added

The user invokes the quick-fix through the Intentions context menu the Alt + Enter key shortcut

 

Previous Next