How to add an item to the menu Intellij IDEA (IDEA plugin)

For the first time in my life I am developing a plugin for IDEA. Already almost fully implemented all the functionality. Now you need to add an item to the file-> settings menu. How can I do that? In the documentation I did not find anything like this.

Upvotes: 0

Views: 926

Answers (1)

Andrey
Andrey

Reputation: 16391

Here the page you need: Creating an action that describes that:

Once you have defined an action or a system of actions, you must register them to specify the menu items or toolbar buttons associated with actions. You can register actions in one of the following ways:

  • Register actions in the <actions> section of the plugin.xml file.
  • Register actions from Java code.

Upvotes: 2

Related Questions