I am new to IDEA plugins and I'm a contestant of IDEA plugin contest. I came across two questions and like to know answers for them.
1. In my plugin, I download some files from remote locations. When I invoke the plugin, using a key combination, IDEA seems to be stuck. I can only see ash window and nothing else until my plugin ends. How can I fix this?
2. When I am running the plugin, I want to print some outputs to the console. I tried logging to the console as INFO message. Will it work? (I can not see anything due to the above problem)
If you wanna re-create the problem, please get the plugin from http://people.apache.org/~chinthaka/IDEA/Idea_Plugin.jar. Then openup a project which uses maven 1.x the build system. Select the root folder and press CtrlShiftAlt+U.
Thanks for the help in advance.