diff --git a/images/tutorials/action_system/img/action_never_used.png b/images/tutorials/action_system/img/action_never_used.png deleted file mode 100644 index f62206371..000000000 Binary files a/images/tutorials/action_system/img/action_never_used.png and /dev/null differ diff --git a/topics/tutorials/action_system/working_with_custom_actions.md b/topics/tutorials/action_system/working_with_custom_actions.md index 5f1242aa7..fbdc19259 100644 --- a/topics/tutorials/action_system/working_with_custom_actions.md +++ b/topics/tutorials/action_system/working_with_custom_actions.md @@ -60,12 +60,6 @@ A more comprehensive explanation of action registration is available in the [](b ### Registering an Action with the New Action Form -IntelliJ IDEA has an embedded inspection that spots unregistered actions. -Verify the inspection is enabled at Settings | Editor | Inspections | Plugin DevKit | Code | Component/Action not registered. -Here is an example for this stage of the `PopupDialogAction` class: - -!["Action never used" inspection](action_never_used.png){width="600"} - To register `PopupDialogAction` and set up its basic attributes press Alt+Shift+Enter. Fill out the New Action form to set up the parameters for `PopupDialogAction`: @@ -143,6 +137,8 @@ The example above uses this element to ensure the shorter text "Popup Dialog Act Otherwise, the default, more explanatory text "Action Basics Plugin: Popup Dialog Action" is shown. For more information, see [](basic_action_system.md#setting-the-override-text-element). +> Use inspection Settings | Editor | Inspections | Plugin DevKit | Code | Component/Action not registered for reporting unregistered actions. + ## Testing the Minimal Custom Action Implementation After performing the steps described above, [compile and run](creating_plugin_project.md#executing-the-plugin) the plugin to see the newly created action available as a Tools menu item, which is within the context of the main menu: