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
- navigate to errors in DSL code reported by generator (make)
- see http://confluence.jetbrains.net/display/MPSInt/MPS+Make+In+IDEA
- two modes of generating files: to different source root or to the same folder next to .mps file
- 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
- Navigate to model/module/root (Alt+F1) is similar to MPS
- create complete list?
- Two aspects of working with MPS plugins for IDEA:
- deploying your own languages
- using one of languages distributed with MPS
- MPS plugin distribution description (plugins + possibility to switch then on/off)
- mps-core
- mps-java
- 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 justis applicable refactoring< >
()
call - add
execute
clause to the action created; all the parameter preparations that were ininit
of refactoring should be moved here; at the end it is necessary to execute refacoring with prepared parameters (withexecute refactoring< >
();
statement) - remove all parameter preparation from
init
of refactoring, they should be ready on entry toinit
; 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
- navigate to errors in DSL code reported by generator (make)
- see http://confluence.jetbrains.net/display/MPSInt/MPS+Make+In+IDEA
- two modes of generating files: to different source root or to the same folder next to .mps file
- 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
- Navigate to model/module/root (Alt+F1) is similar to MPS
- create complete list?
- Two aspects of working with MPS plugins for IDEA:
- deploying your own languages
- using one of languages distributed with MPS
- MPS plugin distribution description (plugins + possibility to switch then on/off)
- mps-core
- mps-java
- mps-vcs
Build language redesigned
...