AppLifecycleListener and JetBrains Gateway
Answered
I've been testing a plugin with JetBrains Gateway.
An `AppLifecycleListener` registered in my plugin is executed when executed in a "regular" IDE, but it's not executed when executed in the Gateway server-side IDE instance.
This is the snippet to register it:
<listener topic="com.intellij.ide.AppLifecycleListener"
class="my.StartupListener"
activeInHeadlessMode="true" activeInTestMode="true"/>
Is it somehow possible to execute AppLifecycleListener for an IDE launched by Gateway?
I have a workaround in place now, but would prefer to avoid it.
Thanks!
Joachim
Please sign in to leave a comment.
Hey Joachim, as I see from the code many functions in the AppLifecycleListener are never called because of the headless mode, could be that we miss appStarted/appClosing in our Gateway server appStarter, would you create a ticket for this ?
Best regards
@... Thanks, I appreciate your reply. I created https://youtrack.jetbrains.com/issue/GTW-1035.