Listening to the moment project is fully opened

Answered

When using ProjectManagerListener, I can listen to the point where projects starts opening, what I need is to get to the point where project has opened all the split editors, which may take a few seconds if Ide is with many splits and tabs.

Is there any way to get notified that state of project editors from previous session was fully restored?

0
2 comments

Hi Jarek,

You can try using com.intellij.openapi.startup.ProjectActivity, but I'm not sure whether it is executed after all split editors are opened. I don't see any listener that allows to execute code after editors are restored.

0

Hi,

that one is also executing just as the project is opened, there must be some part that is responsible for opening all those splits, it just doesn't seem to send an Event when it is done, or at least not documented one.

 

0

Please sign in to leave a comment.