没有任何数据可供显示
开源项目社区 | 当前位置 : |
|
oss.trustie.net/open_source_projects | 主页 > 开源项目社区 > pmip |
pmip
|
0 | 0 | 118 |
贡献者 | 讨论 | 代码提交 |
What is it?Poor Man's IDE Plugin (PMIP) is a simple tool for extending your IDE by scripting micro plugins. PMIP plugins are by design, small, quick and easy to write, shielding the plugin writer from the complexities of the IDE's API as much as possible.
Currently PMIP supports ruby scripting of IDEA Intellij (http://www.jetbrains.com/idea/)
In a nutshell, PMIP provides:
A host plugin that runs inside the IDE which contains an embedded jruby interpreter A bundle of ruby scripts that provide some simple abstractions over Intellij's plugin API
A Quick ExampleCreate a simple action and bind it to a keypress (note: to run this example you'll need to have been through GettingStarted and InstallingTheCoreBundle):
class HelloWorldAction < PMIPAction
def run(event, context)
Dialogs.new(context).info('Hello World', 'Hello from PMIP!')
end
end
bind 'ctrl alt shift A', HelloWorldAction.newFor a more complex example see: PoorMansTestDox a port of the excellent TestDox plugin (always the first plugin I install).
GettingStarted
InstallingTheCoreBundle
MyFirstPlugin
ExamplePlugins