Action

Card Puncher Data Processing

Register actions in the section of the plugin.xml file. * Register actions from Java code. === Plugin.xml === The following fragment of the plugin.xml file adds the Sample Menu group (item) to the main menu. Clicking this item allows you to access: * Sample Menu > Text Boxes and * Sample Menu > Show Dialog menu commands: Idea Plugin Sample Menu where: * MainMenu is an action group === Registering actions from Java code === See http://www.jetbrains.org/intellij/sdk/docs/basics/action_system.html#registering-actions-from-code ===== Wizard ===== A wizard simplify the creation of actions. This wizard only add a new action to an existing action group on the main menu or toolbar. If you want to create a new action group, and then add an action to this group, you have to do it manually. In the destination package: * Alt + Insert or Right Click > New > Action Idea Action Wizard ===== Documentation / Reference ===== * Getting Started - Creating an action * IntelliJ Platform Action System - Quick Start Guide * Plugin Actions





Discover More
Card Puncher Data Processing
IDEA Plugin Dev - PSI Element

A PSI element is an element of a PSI tree. It can have child PSI elements. PSI elements and operations on the level of individual PSI elements are used to explore the internal structure of source code....
Idea Project Model Dev
IDEA Plugin Dev - Project

from a plugin dev point of view A project consists of one or several modules. Each module includes the plugin source code Each module includes order entries that refer to SDK and libraries...
Card Puncher Data Processing
Idea - Plugin Development

How to develop IDEA plugin. The most common types of plugins include: Custom language support (File type recognition, Lexical analysis, Syntax highlighting, Formatting, Code insight and code completion,...
Card Puncher Data Processing
Idea Plugin Dev - Documents

A document is an editable sequence of Unicode characters, which typically corresponds to the text contents of a virtual file. Line breaks in a document are always normalized to \n. The IntelliJ...
Card Puncher Data Processing
Idea Plugin Dev - File and File System (Virtual)

A virtual file com.intellij.openapi.vfs.VirtualFile...
Idea Action Text Box Sample
Idea Plugin Dev - Run Debug Plugin

Select Run | Debug in the main menu, or press Shift + F9. Select Run | Run in the main menu, or press Shift + F10. With the action sample: Getting...
Card Puncher Data Processing
Idea Plugin dev - PSI File (Program Structure Interface - Tree Structured Content)

A PSI (Program Structure Interface) file is the root of a structure representing the contents of a file as a hierarchy of elements in a particular programming language. It represents a hierarchy of PSI...



Share this page:
Follow us:
Task Runner