Child pages
  • What's New in 2021.1

Versions Compared

Key

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

...

https://youtrack.jetbrains.com/issue/MPS-15130


Improved expressions in lang.smodel 

 model.roots() / model.rootsIncludingImported() / model.nodesIncludingImported() now support #expression to specify concepts, much like mode.nodes() did for quite a while. https://youtrack.jetbrains.com/issue/MPS-32743

Compiled generators

For Generators, there's an option to check whether nodes template produce fit into proper role of a parent node. The option if available in Generator Preferences in IDE as well as through build project settings. Generator may issue a warning, which usually indicates there's some inconsistency in templates, e.g. improperly placed Template Fragment or COPY-SRC annotation. Compiled templates, however, didn't perform the check, rendering the option useless. With 2021.1, compiled templated go an extra mile to check proper child placement into a parent if the option is active