How to provide actions for Alt + Enter functionality? 关注
In the editor, you can press Alt + Enter over a symbol and it will give some suggested actions in a popup menu (what is the official name of this?)
Check out these great demos by Dmitry Jemerov
Edit - And if you are doing a custom language be sure to check out http://confluence.jetbrains.com/display/IntelliJIDEA/Custom+Language+Support
For writing actions that may be accessed after pressing Ctrl+Enter you should use IntentionAction and IntentionManager classes.
Community version of IDEA contains a lot of examples how to implement this interface
Denys Dushyn Interesting. Could you point to a sample file or guide? (link)