MPS build 262 is out

Hello! We've released MPS build 262.

You can download it here :

http://www.jetbrains.net/confluence/display/MPS/JetBrainsMPSDownload+Page

New features and improvments :

  • New documentation : structure, editor and action language overviews.

  • Mac related issues : fix install plugin bug, special kind of installation for Mac etc.

  • Add FileView

  • editor: caret is always visible on selected cells

  • editor: arrow keys behave as if in text editor (according to the caret position, not selection)

  • EditorLanguage: cell models (meta-cells) representing non-selectable cells marked gray.

  • EditorLanguage: collection cells could be equipped with dynamically appearing funny braces.

  • EditorLanguage: 'Concept Property' cell model added.

  • NEW! SModel language: it is extension of the base language suitable to perform various manipulations on the model element.

  • EditorLanguage: new ActionMap and updated KeyMap. Java is not needed any more to customize these actions. Action handlers are written in-place using base language and SModel language.

  • ActionsLanguage: old ActionSet-s (from EditorLanguage) are deprecated. Almost all 'code-completion' menus are specified in correspondent actions-model-s in extensible and independent from presentation way.

  • StructureLanguage: concept properties: are now declared in corresponding section of ConceptDeclaration.

  The concept link 'ChildConceptPropertyDeclaration' is not used any more to declare concept property.

  Concept properties declared as root nodes ('alias' etc.) have been deprecated. Correspondent properties now declared in BaseConcept (jetbrains.mps.core)

  • StructureLanguage: concept links: are now declared in corresponding section of ConceptDeclaration.

  The concept links 'ChildConceptDeclaration' and 'ChildConceptLinkDeclaration' are not used any more to declare child link/concept.

0
9 comments

Nice fox! ;-)

When trying to rename (- BTW, could you please add the shortcut Shift+F6? -) an editor from Kontos_Editor to KontosEditor I get following exception on console:

  ERROR - s.ide.command.undo.UndoManager - editor memento before is nul

l

java.lang.Throwable

        at jetbrains.mps.ide.command.undo.UndoManager.commandFinished(UndoManage

r.java:117)

        at jetbrains.mps.ide.command.undo.UndoManager.access$100(UndoManager.jav

a:16)

        at jetbrains.mps.ide.command.undo.UndoManager$1.commandFinished(UndoMana

ger.java:51)

        at jetbrains.mps.ide.command.CommandProcessor.fireCommandFinished(Comman

dProcessor.java:145)

        at jetbrains.mps.ide.command.CommandProcessor.executeCommand_internal(Co

mmandProcessor.java:97)

        at jetbrains.mps.ide.command.CommandProcessor.executeCommand(CommandProc

essor.java:74)

        at jetbrains.mps.ide.command.CommandProcessor.executeCommand(CommandProc

essor.java:55)

        at jetbrains.mps.ide.action.AbstractActionAdapter.actionPerformed(Abstra

ctActionAdapter.java:33)

        at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:18

49)

        at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.jav

a:2169)

        at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel

.java:420)

        at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258

)

        at javax.swing.AbstractButton.doClick(AbstractButton.java:302)

        at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1

000)

        at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMen

uItemUI.java:1041)

        at java.awt.Component.processMouseEvent(Component.java:5488)

        at javax.swing.JComponent.processMouseEvent(JComponent.java:3126)

        at java.awt.Component.processEvent(Component.java:5253)

        at java.awt.Container.processEvent(Container.java:1966)

        at java.awt.Component.dispatchEventImpl(Component.java:3955)

        at java.awt.Container.dispatchEventImpl(Container.java:2024)

        at java.awt.Component.dispatchEvent(Component.java:3803)

        at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212

)

        at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3892)

        at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822)

        at java.awt.Container.dispatchEventImpl(Container.java:2010)

        at java.awt.Window.dispatchEventImpl(Window.java:1774)

        at java.awt.Component.dispatchEvent(Component.java:3803)

        at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)

        at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchTh

read.java:242)

        at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThre

ad.java:163)

        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)

        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)

        at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)

--

Tom

0

Hi Thomas,

would you be so kind to say more precisely how you got this error?

Anyway you should not worry too much about it for it should not have severe effects and won't break any vital functionality, it's more like a cosmetics.

What for the editor names, you just can't change them, nevermind the error, the names for editors always respect the names of their concepts.

And it's not recommended to change the name of the editor even if you somehow find the way how to do it.

0
Avatar
Permanently deleted user

This stacktrace is caused by assertion that works in a wrong place. It's harmless. In next build it will be removed.

0

The error you have posted is more likely to appear on creating some concept, may be you simply noticed it only when your attempt to rename editor didn't succeed.

0

may be you simply noticed it only when your attempt to

rename editor didn't succeed.

Yes, the rename failed silently and then I took a look at the console.

0

Anything similar to java annotations in this build?

0
Avatar
Permanently deleted user

Yes we've released in this build mechanism that is similar to java annotation in some way. We're going to provide documentation for it on this week.

0

Is there any doc about "annotations" already? Not yet perhaps..?

0
Avatar
Permanently deleted user
0

Please sign in to leave a comment.