Description for suggestion items coming from reference constraints

I've a constraint to limit the set of allowed arguments: 

It does work, however I see no way to pass additional description for the item.

For instance, "node substitute actions" allow to put some "description".

Here's how it behaves now (I want to augment "^variables" with description or something like that): 

Is it something that can already be configured?

2 comments

Yes, it is the "shortDescription" property of the target concept, that is being displayed next to the name of the node. You can override the getter for the property in constraints of the concepts as:

property {shortDescription} 
get:(node)->string {
"Whatever";
}
set:<default>
is valid:<default>
0

Please sign in to leave a comment.