IntelliJ IDEA 2023.2 Help

New Action dialog

Use this dialog to create a new action with the specified identifier, and optionally bind it with a keyboard shortcut that can consist of one or two keystrokes.




In this text field, type the identifier of the new action.

Class name

In this text field, specify the name of the class where the new action will be defined. The created stub class contains import statements, and extends AnAction.


Specify the name that will identify the new action in the UI.

Add to Group

In this section, select a group where the action will belong (Groups section), and specify its position (Anchor) relative to the other actions in this group (Actions).

Keyboard shortcuts

In the two text fields below, specify the optional primary and secondary keyboard shortcuts, by pressing keyboard keys and their combinations.

Last modified: 14 September 2021