mirror of
https://github.com/JetBrains/intellij-sdk-code-samples.git
synced 2025-07-28 01:07:49 +08:00
* build(deps): bump org.jetbrains.intellij Bumps org.jetbrains.intellij from 1.0 to 1.1.2. --- updated-dependencies: - dependency-name: org.jetbrains.intellij dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * build(deps): bump org.jetbrains.intellij in /code_samples/project_wizard Bumps org.jetbrains.intellij from 1.0 to 1.1.2. --- updated-dependencies: - dependency-name: org.jetbrains.intellij dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * build(deps): bump org.jetbrains.intellij Bumps org.jetbrains.intellij from 1.0 to 1.1.2. --- updated-dependencies: - dependency-name: org.jetbrains.intellij dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * build(deps): bump org.jetbrains.intellij in /code_samples/editor_basics Bumps org.jetbrains.intellij from 1.0 to 1.1.2. --- updated-dependencies: - dependency-name: org.jetbrains.intellij dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * build(deps): bump org.jetbrains.intellij in /code_samples/tool_window Bumps org.jetbrains.intellij from 1.0 to 1.1.2. --- updated-dependencies: - dependency-name: org.jetbrains.intellij dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * build(deps): bump org.jetbrains.intellij Bumps org.jetbrains.intellij from 1.0 to 1.1.2. --- updated-dependencies: - dependency-name: org.jetbrains.intellij dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * build(deps): bump org.jetbrains.intellij in /code_samples/facet_basics Bumps org.jetbrains.intellij from 1.0 to 1.1.2. --- updated-dependencies: - dependency-name: org.jetbrains.intellij dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * build(deps): bump org.jetbrains.intellij in /code_samples/action_basics Bumps org.jetbrains.intellij from 1.0 to 1.1.2. --- updated-dependencies: - dependency-name: org.jetbrains.intellij dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * build(deps): bump org.jetbrains.intellij in /code_samples/settings Bumps org.jetbrains.intellij from 1.0 to 1.1.2. --- updated-dependencies: - dependency-name: org.jetbrains.intellij dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * build(deps): bump org.jetbrains.intellij Bumps org.jetbrains.intellij from 1.0 to 1.1.2. --- updated-dependencies: - dependency-name: org.jetbrains.intellij dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * build(deps): bump org.jetbrains.intellij Bumps org.jetbrains.intellij from 1.0 to 1.1.2. --- updated-dependencies: - dependency-name: org.jetbrains.intellij dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * build(deps): bump org.jetbrains.intellij Bumps org.jetbrains.intellij from 1.0 to 1.1.2. --- updated-dependencies: - dependency-name: org.jetbrains.intellij dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * build(deps): bump org.jetbrains.intellij in /code_samples/live_templates Bumps org.jetbrains.intellij from 1.0 to 1.1.2. --- updated-dependencies: - dependency-name: org.jetbrains.intellij dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * build(deps): bump org.jetbrains.intellij Bumps org.jetbrains.intellij from 1.0 to 1.1.2. --- updated-dependencies: - dependency-name: org.jetbrains.intellij dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * build(deps): bump org.jetbrains.intellij in /code_samples/project_model Bumps org.jetbrains.intellij from 1.0 to 1.1.2. --- updated-dependencies: - dependency-name: org.jetbrains.intellij dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * build(deps): bump org.jetbrains.intellij Bumps org.jetbrains.intellij from 1.0 to 1.1.2. --- updated-dependencies: - dependency-name: org.jetbrains.intellij dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * build(deps): bump org.jetbrains.intellij in /code_samples/kotlin_demo Bumps org.jetbrains.intellij from 1.0 to 1.1.2. --- updated-dependencies: - dependency-name: org.jetbrains.intellij dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * build(deps): bump org.jetbrains.intellij in /code_samples/module Bumps org.jetbrains.intellij from 1.0 to 1.1.2. --- updated-dependencies: - dependency-name: org.jetbrains.intellij dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * build(deps): bump org.jetbrains.intellij Bumps org.jetbrains.intellij from 1.0 to 1.1.2. --- updated-dependencies: - dependency-name: org.jetbrains.intellij dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * build(deps): bump org.jetbrains.intellij Bumps org.jetbrains.intellij from 1.0 to 1.1.2. --- updated-dependencies: - dependency-name: org.jetbrains.intellij dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * build(deps): bump actions/github-script from 3 to 4.0.2 Bumps [actions/github-script](https://github.com/actions/github-script) from 3 to 4.0.2. - [Release notes](https://github.com/actions/github-script/releases) - [Commits](https://github.com/actions/github-script/compare/v3...v4.0.2) --- updated-dependencies: - dependency-name: actions/github-script dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: github-actions <github-actions@github.com>
Action Basics Sample Project 
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:
- Using the
<override-text>
element in an<action>
element is demonstrated in theplugin.xml
declaration to add thePopupDialogAction
action directly to theToolsMenu
. - Localization of action and group
text
anddescription
attributes using a<resource-bundle>
is demonstrated in the declaration to add a new group to theEditorPopupMenu
.
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