Child pages
  • What's new in MPS 2.0 M3

Versions Compared

Key

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

...

Note
titleImportant change

Since this release there'll be no more "Generate" and "Regenerate" actions in the UI. They have been replaced by "Make" and "Rebuild". See below for details.

The main menu "Build" menu has been re-worked completely. Here's what changed:

...

Section
Column
width30%
  • There is a new button on the main toolbar, replacing three obsolete ones
    Note
    titleRemoved feature

    The obsolete feature "generate used languages that require generation" is removed. It is superseded with the new make action.

Column
width70%

Section
Column
width30%
  • Menus for solutions and models have been updated too
Column
width70%

Image Modified

Image Modified

Image Modified

Anchor
previewtext
previewtext

Generated Text Preview

Section
Column
width30%

A new action "Preview Generated Text" opens preview in an multi-tab editor. Each tab corresponds to a single file.

The action is available on a model and is also bound to a shortcut ctrl+alt+shift+F9 (MacOS cmd+alt+shift+F9).

Column
width70%

Image Modified

Image Modified

Anchor
debugger
debugger

New Breakpoints and Watches in Java Debugger

...

  • New language jetbrains.mps.lang.editor.table was added to MPS distribution. This language should be imported into the editor model to enable table support. For now this language supports two different kinds of table: table and hierachycal hierachical table:

  • table cell model was intended for generic table support in editor. An instance of TableModel interface mast must be returned from model function in Table cell section within inspector of this cell model:

...

Specified TableModel instance used to create and edit table grid. Each table child cell contains common MPS editor specified for given child node. TableModel interface as well as a number of it's reusable implementations are defined in jetbrains.mps.lang.editor.table.runtime solution.

  • hierarchycal hierarchical table cell model was created to cover rather frequent use case of table-based child nodes editing then a concept, represented by table, has multiple child reference to another concept Row keeping table cells as it's children:

...

The tabbed editors part of plugin language was slightly improved. Now new aspects can be added for a concept from any language, which will allow to "extend" tabbed editors, in contrast with old TabbedEditor allowing to define the set of aspects only once.

The editors theirselves themselves changed their appearance - now there is no 3rd level of tabs. Instead of it, an editor has a toolbar showing all aspects available for the main node and allowing to create a new ones.m

Plugin framework improvements

...