Trying to use Plugin SDK
I've got, to my knowledge, the plugin module set up correctly, but, how exactly do you debug a plugin?
I keep getting a "Only one instance of IDEA can be run at a time."
I'm using build 4101, have got a personal license. I'm pointing to the plugin.xml file. I've got a plugin SDK set up.
What's the next step? Will the hotkeys defined in plugin.xml work?
The docs HAVE TO BE BETTER THAN THIS!!!!
请先登录再写评论。
David H. McCoy wrote:
You click the Debug button in the toolbar.
This sounds like an IDEA bug. You should report this to
http://jetbrains.net/jira. You should make sure you don't have any Debug
or Run instances of IDEA open, because as the dialog box says, you can't
run/debug your plugin modules more than once at a time.
Okay. The problem was the sandbox. I had it pointing to config/system directory used by Idea. I changed it to a temp directory in my project and it fired up.
So my next problem are hotkeys. I received the src code from the guy that wrote the FcTodo plugin and I'm basically trying to port it to Idea 5 since it no longer works.
Perhaps the hotkey definitions have changed in the plugin.xml file? I'm trying to find and example in the Idea SDK.
Huzzah!! We're hot Okay, that wasn't that bad(if you have an existing plugin to use!). ;)
David H. McCoy wrote:
Cool, I'm glad you got it working.
I've filed http://jetbrains.net/jira/browse/IDEA-6299 to prevent people
from having the same problem you had. You should vote for it.