I have multiple IDEA instances open. When I switch between them, I want to know which project is open in the frame that is being activated.
I have implemented the FrameStateListener to get the events when IDEA frame changes.
I tired using DataManager to get the project, but it gives me the old project object and not the new one which is being activated.
Can someone tell me how can I achieve this?