Internal frame and lightbulb
Hello,
I am currently working on a plugin and I have a couple of questions to ask.
1.How can I create an internal frame in IDEA, like the one of the debugger or the TODO window?
2. How can I create the respective button of the window mentioned above?
3.How can I insert a lightbulb, which will accompany a custom suggestion, next to my source code?
Any help or advice will be appreciated.
Thank you,
Marios Fokaefs
Please sign in to leave a comment.
Hi Marios,
1 + 2. They are called ToolWindows.
You probably have already downloaded IDEA's plugin development package (It's a separate download called for example idea6733-dev.zip). In the examples folder of it you'll find a toolwindow folder that contains a simple example that shows how to create a ToolWindow. The button is created automatically for a ToolWindow.
Thanks a lot. That was really helpful. Exactly what I was looking for.
May be this will help:
http://plugins.intellij.net/plugin/?id=1124
Check screenshots, if thats what you are looking for, get sources
http://plugins.intellij.net/files/sourceCode/Tasks_1124.zip
Lightbulb in IDEA called intention (org.dubik.tasks.intention,
intention/ packages)
For window check TasksProjectComponent class, projectOpened() method.
-S
Marios Fokaefs wrote: