I want to develop a plugin for intellij, but I find that there is very little resource about this, and there is no book about it, so does anyone know about this resource or book? many thanks
This page will help you:
http://www.jetbrains.com/idea/features/open_api_plugin_manager.html
Essentially, you need to learn the Open API, which is not so difficult, and you can visit a few examples of the plugins that exist there to see how others do things. Some plugins with source: