Need help -- idea plugin activate on intellij got focus

I would like to create a plugin that does some work upon intellij main window is activated (received focus by mouse clicks or keyboard). How could I register such plugin?  Thanks.

1 comment

Hi Victor,

FrameStateManager.getInstance().addListener()

Denis

0

Please sign in to leave a comment.