Yann Cébron 32aeca2ccf
2023.1 release (#1010)
* 2023.1 release: update gh-links, re-gen EP lists

* code samples: update target version

* code samples: fix framework_basics missing dependency on Java plugin

* stub_indexes.md: update -master GH link

* EP lists: improve "Topic" presentation

* internal_ui_inspector.md: fix link

* kotlin_demo: fix link

* Generate Android Studio releases

* publishing_plugin.md: add note about plugin signing

* plugin_signing.md: Update information about providing `certificateChainFile` and `privateKeyFile` + minor changes

* tools_gradle_intellij_plugin.md: add `verifyPluginSignature` task

* plugin_signing.md: add Plugin Signature Verification

* plugin_signing.md: fixed anchor

* creating_plugin_project.md: update

* GH: set final 2023.1 tag

* GH code samples: update PV version

* code samples: ComparingStringReferencesInspection compatibility with 231.*
2023-03-28 20:09:23 +02:00
..
2023-03-28 20:09:23 +02:00
2023-02-14 15:38:57 +01:00
2022-11-28 17:31:11 +01: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][sdk: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 a 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