How to implement generate code action?
Answered
I want to devlope a plugin that will generate certain structure (just like setters and getter in java) for YAML languange. I am not understanding How do I build this plugIn.
Please sign in to leave a comment.
Hi,
You can take a look at existing implementations, e.g.:
com.intellij.xml.actions.GenerateXmlTagAction
If you implement your generation action, it should be registered under GenerateGroup, e.g., it is done like this for the mentioned XML tag generator: