Child pages
  • What's new in MPS 2.5 M1

Versions Compared

Key

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

MPS plugin for IDEA

  • MPS Facet + settings (model roots/used languages/output path/...)
  • Explore .mps files in IDEA project view -> double-click on root to open editor
  • Change model properties (imported models/used languages) by calling popup menu on model file
  • Generating code by making the project
    1. navigate to errors in DSL code reported by generator (make)
    2. see http://confluence.jetbrains.net/display/MPSInt/MPS+Make+In+IDEA
    3. two modes of generating files: to different source root or to the same folder next to .mps file
    4. hiding generated code
  • Debugger in IDEA plugin: put a breakpoint into DSL code, run java application and stop on this breakpoint & explore stack trace
  • VCS integration
  • Actions available int IDEA plugin
    1. Navigate to model/module/root (Alt+F1) is similar to MPS
    2. create complete list?
  • Two aspects of working with MPS plugins for IDEA:
    1. deploying your own languages
    2. using one of languages distributed with MPS
  • MPS plugin distribution description (plugins + possibility to switch then on/off)
    1. mps-core
    2. mps-java
    3. mps-vcs

Dependencies analyzer

Dependencies analyzer can be called from main menu or from popup menu on a set of modules/models::

...

  • create action for refactoring
  • copy caption, create context parameters
  • add refactoring keystroke with the newly created action to KeymapChangesDeclaration
  • create ActionGroupDeclaration for refactoring that modifies jetbrains.mps.ide.actions.NodeRefactoring action group at default position
  • add isApplicable clause to the action created; usually it is just is applicable refactoring< >() call
  • add execute clause to the action created; all the parameter preparations that were in init of refactoring should be moved here; at the end it is necessary to execute refacoring with prepared parameters (with execute refactoring< >(); statement)
  • remove all parameter preparation from init of refactoring, they should be ready on entry to init; you can still validate parameters and return false if validation fails

Suppressing errors

It is possible to suppress errors in editor (and in model checker) now.

...

  • MutliForEachStatement
  • others?

MPS plugin for IDEA

  • MPS Facet + settings (model roots/used languages/output path/...)
  • Explore .mps files in IDEA project view -> double-click on root to open editor
  • Change model properties (imported models/used languages) by calling popup menu on model file
  • Generating code by making the project
    1. navigate to errors in DSL code reported by generator (make)
    2. see http://confluence.jetbrains.net/display/MPSInt/MPS+Make+In+IDEA
    3. two modes of generating files: to different source root or to the same folder next to .mps file
    4. hiding generated code
  • Debugger in IDEA plugin: put a breakpoint into DSL code, run java application and stop on this breakpoint & explore stack trace
  • VCS integration
  • Actions available int IDEA plugin
    1. Navigate to model/module/root (Alt+F1) is similar to MPS
    2. create complete list?
  • Two aspects of working with MPS plugins for IDEA:
    1. deploying your own languages
    2. using one of languages distributed with MPS
  • MPS plugin distribution description (plugins + possibility to switch then on/off)
    1. mps-core
    2. mps-java
    3. mps-vcs

Build language redesigned

...