MPS 3.1 has been released

JetBrains MPS 3.1 with its newly added support for diagram editors has just been released. You can now download it and start using on your projects.

Diagram editors give your languages the capabilities to express ideas in a graphical way. Combined with the capability of multiple editors per concept this further widens the range of applicability of MPS-designed DSLs.

Diagram

On top of diagramming, MPS 3.1 comes with a considerably enhanced generator. The generator performance has been improved significantly and it now also offers more options for configuration and tuning.

The MPS editor itself has been enhanced in several ways:

  • Style priorities give you more flexibility when defining and overriding styles
  • Custom style attributes give you an additional way to customize the configurability of editors
  • Automatic reference re-resolving helps you fix references that get broken during code manipulation
  • Fluent parentheses editing in BaseLanguage automatically matches left and right parentheses and rebalances the expression tree as you type

Check out a complete list of all the new capabilities, consults the documentationdownload MPS 3.1 and enjoy building your DSLs.

 

Develop with pleasure!
-JetBrains MPS Team

Posted in Announcement | Tagged , , , | Leave a comment

JetBrains MPS 3.1 rc3

MPS 3.1RC3 is available for download. Check the list of fixed problems for more info.

Develop with pleasure!
-JetBrains MPS Team

Posted in Uncategorized | Leave a comment

JetBrains MPS 3.1 rc2

As promised, since a few bugs were found in the first release candidate of MPS 3.1, we’re now making public a release candidate 2, which fixes them and which brings us even closer to the final 3.1 release.

Please, download MPS 3.1 rc2. If you find issues, do not hesitate to report them through our tracker.

Develop with pleasure!
-JetBrains MPS Team

Posted in Announcement | Tagged , , , | Leave a comment

Automatic broken references resolution in MPS 3.1

One of the neat enhancements that has been implemented in MPS 3.1 is the ability of the editor to automatically re-resolve broken or out-of-scope references. Imagine, for example, that you refer to a field from a piece of BaseLanguage code, e.g. from a method body.

re1 re2 re3 re4

 

 

 

Highlighting the field’s usages (Control/Cmd + Shift + F7) confirms that the reference points to the field declaration.

If, at this point, you introduce a parameter to the method with the same name, the field declaration gets moved out of the scope, since the parameter hides it. The reference gets automatically re-resolved to the parameter declaration so that the code remains valid.

If you eventually remove the parameter, the reference will start pointing at the field declaration again.

This capability also enables you to first type in the reference and only then create a definition that the reference should point to.

To enable automatical reference re-resolution, you need to enable the corresponding flag on the Editor page in the Project settings.

re5

We’ve also shot a short video showing this and other scenarios when this capability comes in handy. Check it out.

Develop with pleasure!
-JetBrains MPS Team

Posted in Feature | Tagged , , | Leave a comment

MPS in presentation mode

Here’s a useful tip for presenting with MPS – since version 3.1 MPS supports presentation mode, in which the editor occupies the whole screen real-estate. No tool-bars, no tool panels and no menus. Just code.

Plus the Appearance configuration screen in Project settings allows you to pre-set a different font size for presentation mode.

pres4

To switch to the presentation mode, either use the Toggle Presentation mode action in the Invoke action dialog (Control/Cmd + Shift + A),

pres3

or use the Enter/Exit Presentation Mode item in the View menu.
pres1  pres2

Good luck presenting with MPS!

Develop with pleasure!
-JetBrains MPS Team

Posted in Feature | Tagged , , , | Leave a comment

MPS 3.1 first release candidate

It is coming – MPS 3.1 is almost ready. Before we push the button and release a final version, we’ve baked a release candidate 1. Now we would like to kindly ask you, our valued users, to download and try out. If you find issues, please report them through our tracker. If you don’t find any, we promise to release a final version shortly.

Develop with pleasure!
-JetBrains MPS Team

Posted in Uncategorized | Leave a comment

MPS Console documentation

Did you know that MPS 3.0 introduced a Console tool window, in which you can instantly type and execute DSL code? Many of the actions that you would normally invoke by navigating through the menus or by manually opening and editing nodes can be automated through the console.

We’ve just wrote up a short documentation listing the console capabilities and intended usages. Check out the MPS console documentation and try it for yourself.

Develop with pleasure!
-JetBrains MPS Team

Posted in Uncategorized | Leave a comment

MPS 3.1 EAP 3 is ready

Another doze of bug fixes and polished features has been packaged today into an MPS 3.1 EAP 3 release. You can get it from the download page. Please do not forget to keep us posted on any issues that you discover.

Important note on automatic migrations:

This release comes with three new migrations that will join the automatic project migration wizard that updates projects from MPS 3.0 to MPS 3.1. If you have already migrated your project to MPS 3.1 with the previous EAP release, these three migrations will not be run and you will have to run them manually. The migrations are named:

  • Migrate Old IScope Parameter in Model Operations
  • Migrate Simple IScope usages in Constraints
  • Add Missing Parentheses to Nested TernaryOperatorExpressions

You start them individually upon opening your project in the Tools -> Migration 3.1 -> menu.

migrations

 

Develop with pleasure!
-JetBrains MPS Team

Posted in Uncategorized | Leave a comment

JetBrains MPS 3.1 EAP 2

It took us exactly two weeks since the first EAP release of MPS 3.1 to collect feedback from our brave EAP users, fix the reported problems, add some extra polish to the new features, add introductory samples on diagramming and wrap it all into a second EAP release. Please get it from the download page and keep us posted on the issues you may find.

Develop with pleasure!
-JetBrains MPS Team

Posted in Announcement | Tagged , , | Leave a comment

Presentation – The art of building tools

Markus Voelter recently gave a very inspiring presentation named “The art of building tools – A language engineering perspective” at Craft Conference in Budapest. Check it out and see what Markus has to say about MPS, mbeddr and language workbenches in general.
Develop with pleasure!
-JetBrains MPS Team

Posted in Announcement, Uncategorized | Tagged , , | Leave a comment