I'm just starting out with JetBrains plugin development, so please forgive me if I'm doing something wrong here. Basically what I want to do is have a menu item that first pops up an input box, and then based on what the user enters in the input box, pops up a list of potential options. As a first start, I've created the following minimal modification to the HelloAction.java file:
When run as-is, this works: it pops up a list of choices, and if you select one it prints out the selection to the console.
However, if you uncomment the "showMessageDialog" call, it then shows a message dialog, but then when it moves on to showing the selection menu, the menu appears for one instant, but then quickly disappears. This doesn't seem like expected behavior, but I'm not sure if I'm doing something wrong, or if this is a bug. Could someone provide guidance?
Thanks a lot!