Also see the openapi docs under the IDEA install dir. Note: ActionManager.xml contains the menu structure of IDEA, but is for info only, not actually used by the app.
And most plugin distributions include the source, so you could just poke around.
--
Erb
============================================================== "Most of you are familiar with the virtues of a programmer. There are three, of course: laziness, impatience, and hubris." - Larry Wall ==============================================================
How to make one action not available in another action?
Such as that the StopAction make StartAction available and self not available!
How can I do ?
Cannot be directly done through the API, but your plugin can have a global variable that the 2 actions use to communicate. As you may have sen, an action makes itself available only in the update() method of AnAction.
Where can I get the Open API JAVADoc?
As I said, it's in the "doc" directory of the idea installation dir.
--
Erb
============================================================== "Most of you are familiar with the virtues of a programmer. There are three, of course: laziness, impatience, and hubris." - Larry Wall ==============================================================
I'm Chinese,so My English is poor.You'are a nice person!
Thanks!
--
Erb
============================================================== "Most of you are familiar with the virtues of a programmer. There are three, of course: laziness, impatience, and hubris." - Larry Wall ==============================================================
ditty wrote:
Start here:
http://www.intellij.org/twiki/bin/view/Main/WebHome#OpenAPI_and_IntelliJ_Plugins
Also see the openapi docs under the IDEA install dir. Note:
ActionManager.xml contains the menu structure of IDEA, but is for
info only, not actually used by the app.
And most plugin distributions include the source, so you could
just poke around.
--
Erb
==============================================================
"Most of you are familiar with the virtues of a programmer.
There are three, of course: laziness, impatience, and hubris."
- Larry Wall
==============================================================
Thanks Erb for your answer!
How to make one action not available in another action?
Such as that the StopAction make StartAction available and self not available!
How can I do ?
Where can I get the Open API JAVADoc?
ditty wrote:
Cannot be directly done through the API, but your plugin can have a global variable
that the 2 actions use to communicate. As you may have sen, an action makes
itself available only in the update() method of AnAction.
As I said, it's in the "doc" directory of the idea installation dir.
--
Erb
==============================================================
"Most of you are familiar with the virtues of a programmer.
There are three, of course: laziness, impatience, and hubris."
- Larry Wall
==============================================================
I'm Chinese,so My English is poor.You'are a nice person!
Thanks!
Your English is much better than my Chinese :)
ditty wrote:
--
Erb
==============================================================
"Most of you are familiar with the virtues of a programmer.
There are three, of course: laziness, impatience, and hubris."
- Larry Wall
==============================================================