Intentions
How to can I go to the declaration of an intention when I open the intention menu?
Select the intention and click the arrow/press right arrow key -> Go to intention declaration.
How do I execute an action as an intention?
Add the action to the action group ActionsAsIntentions.
I want to group my intentions and give them names.
Use the language com.mbeddr.mpsutil.intentions
from mps-extensions.
It is also possible to split the description into multiple literals. The first literal will then be used to group intentions.
I need to get all available intentions for a node.
Call IntentionsManager.getInstance().getAvailableIntentions()
.
How can I make intentions visible?
Specific Languages Blog — Making intentions visible
How can I show a submenu in the intentions menu?
Specific Languages Blog — Showing a submenu in the intentions menu