Yann Cébron 5d4d1d75e9
2024.2 release (#1347)
* switch to 242, update gh-ic links

* fix link

* fix link

* fix link

* fix link

* regen EP lists

still some diff between 242 and EAP8

* convert gh-ic-master links

* GH code-samples: update PV IDE versions

* code samples: adjust target IDE&since/until values

* regen EP lists from release branch

* intellij_community_plugins_extension_point_list.md: fix duplicate heading

* intellij_community_plugins_extension_point_list.md: fix DevKit.lang.visitorProviderForRBCInspection EP

* GH: update PV versions

* 2024.2 GA
2024-08-07 09:59:03 +02:00
..
2024-07-16 10:59:02 +02:00
2023-11-29 16:31:01 +01:00
2024-08-07 09:59:03 +02:00
2024-07-16 10:59:02 +02:00
2024-07-16 10:59:02 +02:00
2024-07-10 11:46:15 +02:00

Action Basics Sample Project JetBrains IntelliJ Platform SDK Docs

Reference: Action System in IntelliJ SDK Docs

Quickstart

The Action Basics Sample Project demonstrates the process of registering actions in various configurations. Each action is an extension of the AnAction abstract class and brings the possibility of extending the IDE with an event performed with the user interaction - i.e., clicking the button, using the keyboard or mouse shortcuts.

This Plugin registers the PopupDialogAction action, which provides a popup dialog as feedback, in three different ways:

  • by assigning the keyboard (Ctrl/Cmd+Alt+A, C) and mouse shortcuts (Ctrl/Cmd + Mouse Button 3 + Double Click),
  • by adding an action to the ToolsMenu directly, and as part of new groups added to the Tools menu,
  • by adding an action to a new group in the EditorPopupMenu, which is the Editor's context menu.

Additional features of the plugin:

Actions

ID Implementation Base Action Class
org.intellij.sdk.action.GroupPopDialogAction PopupDialogAction AnAction
org.intellij.sdk.action.PopupDialogAction PopupDialogAction AnAction
org.intellij.sdk.action.CustomGroupedAction PopupDialogAction AnAction
org.intellij.sdk.action.CustomDefaultActionGroup CustomDefaultActionGroup ActionGroup
org.intellij.sdk.action.DynamicActionGroup DynamicActionGroup ActionGroup

Reference: Action System in IntelliJ SDK Docs