Home
MPS Support | JetBrains
Submit a request
Community
Sign in
fxlex
Total activity
59
Last activity
January 12, 2016 14:08
Member since
August 23, 2014 12:01
Following
0 users
Followed by
0 users
Votes
0
Subscriptions
25
Activity overview
Posts (5)
Comments (29)
Sort by recent activity
Recent activity
Votes
Created
January 07, 2016 17:58
I'm not 100% sure what you want to achieve but you could define a node attribute for any concept and define an editor for it.You can for example hide any node with this approach(more info here) or ...
Community
MPS
Exchanging Node with Node of allowed Concept
0 votes
Created
January 07, 2016 17:06
Your first approach should work. If only one child is generated always make sure that $COPY_SRCL surrounds a Statement and not a StatementList .Consider the following example: /*package*/ void test...
Community
MPS
Generating list of variables
0 votes
Created
December 23, 2015 18:00
Maybe he meant LanguageAspectSupport.isAspectModel(model)?This class also contains another useful method:LanguageAspectSupport.getAspectModels(module)
Community
MPS
custom aspects: accessing aspect source language
0 votes
Created
December 15, 2015 23:34
Your first strategy would be possible if you don't find a better one: if(!model.nodes(<all>).any({ ~node => NodesMatcher.matchNodes(node, newGeneratedNode) == null; })){ addNewNode(); }
Community
MPS
Suggested strategy to generate concepts
0 votes
Created
December 13, 2015 18:56
Looks interesting. One possible improvement: If you want better usability you could get rid of the intentions and boolean values (used for example for optional groups of elements) and use the new M...
Community
MPS
Grammar to describe a projectional editor
0 votes
Created
December 12, 2015 21:23
I experienced that same and submitted it to the issue tracker. More details here
Community
MPS
ConnectException when Debugging/Running
0 votes
Created
December 12, 2015 19:46
list<SModel> models = new arraylist<SModel>; models.addAll(new ProjectScope(ProjectHelper.getProject(editorContext.getRepository())).getModels()); models.forEach({~it => nlist<> rootNodes = ne...
Community
MPS
Traversing all nodes of every model
1 vote
Created
December 12, 2015 18:56
I am glad you got it working. Yes you can add it to the project. I think other people with the same issue would benefit from it.
Community
MPS
Write access for node from JComponent
0 votes
Created
December 11, 2015 21:57
"return getValue()" does nothing except preventing a syntax error. From the documentation:$COPY_SRCL$ - copies the specified collection of nodes and replaces the wrapped codeYou can get the stateme...
Community
MPS
Write access for node from JComponent
0 votes
Created
December 09, 2015 17:47
Should now work with 3.3 RC1.
Community
MPS
Write access for node from JComponent
0 votes
Next
›
Last
»