Developing the plugin functionality

When it comes to plugin development, IntelliJ IDEA introduces the concept of the component. There can be components at the application, module, and project level. Application level (global) components are initialized when the IDE starts. Project level components, on the other hand, are instantiated by the IDE for every project instance opened. Module level components, accordingly, are instantiated for every project's module loaded.

A further concept introduced in the plugins API is action. Here, action represents the toolbar or menu item. It's a class whose actionPerformed method is called when the toolbar button or menu item is selected. Action can be either defined in the configuration file, or instantiated ...

Get IntelliJ IDEA Essentials now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.