Guidelines for implementing IntelliJ actions (AnAction). Use those rules when you need to create or change an action in the intellij platform.
Guidelines for implementing IntelliJ actions (AnAction).
id attribute for the action in plugin.xmlicon attribute if an icon is neededaction.<action-id>.text=Translated Action Textaction.<action-id>.description=Translated Action DescriptionGood example:
Kotlin:
class MyAction : AnAction()
plugin.xml:
<action id="My.Action.Id"
class="my.package.MyAction"
icon="my.package.MyIcons.ICON"/>
Bundle.properties:
action.My.Action.Id.text=My Action
action.My.Action.Id.description=Description of my action