diff --git a/tutorials/action_system/action_system.md b/tutorials/action_system/action_system.md index 4972b4fe2..4bd13af07 100644 --- a/tutorials/action_system/action_system.md +++ b/tutorials/action_system/action_system.md @@ -177,7 +177,6 @@ After compiling and running the plugin project and invoking the action, the dial ------------- -**Under construction** #Groupping actions. If some part of the functionality requires to implement several actions or actions are simply too many and overload the menu they can be joined into groups. @@ -200,10 +199,30 @@ class. IntelliJ IDEA has embedded inspection an quick fix for registering groups of actions. After the group has been created it's declaration should be highlighted. Place caret on group's class name declaration and press ***Alt + Enter*** -to register it. +to register it: ![Register action group](img/register_group.png) +In this sample our custom action group will be available in the editor popup menu: + +![Register action group](img/editor_popup_menu.png) + +After filling the "New Action" form and applying the changes ** section of the +[plugin.xml]() +file will look like this: + + + + + + + + +------------- + +**Under construction** + placing attribute into [plugin.xml] (https://github.com/JetBrains/intellij-sdk/blob/master/code_samples/plugin_sample/META-INF/plugin.xml) file. In most of the cases you simply need to leave "class" attribute of the undefined; in this case an instance of diff --git a/tutorials/action_system/img/editor_popup_menu.png b/tutorials/action_system/img/editor_popup_menu.png new file mode 100644 index 000000000..779e049ba Binary files /dev/null and b/tutorials/action_system/img/editor_popup_menu.png differ diff --git a/tutorials/action_system/img/scr/editor_popup_menu.png b/tutorials/action_system/img/scr/editor_popup_menu.png new file mode 100644 index 000000000..9921889d1 Binary files /dev/null and b/tutorials/action_system/img/scr/editor_popup_menu.png differ