This repository has been archived by the owner on Mar 12, 2024. It is now read-only.
generated from JetBrains/intellij-platform-plugin-template
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'dev' into chore/change-login-action-text
- Loading branch information
Showing
26 changed files
with
533 additions
and
119 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 5 additions & 0 deletions
5
src/main/kotlin/com/watermelon/context/listeners/MyApplicationActivationListener.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,15 @@ | ||
package com.watermelon.context.listeners | ||
|
||
import com.intellij.openapi.application.ApplicationActivationListener | ||
import com.intellij.openapi.application.PermanentInstallationID | ||
import com.intellij.openapi.wm.IdeFrame | ||
import com.watermelon.context.utils.PostHog | ||
|
||
internal class MyApplicationActivationListener : ApplicationActivationListener { | ||
|
||
override fun applicationActivated(ideFrame: IdeFrame) { | ||
val uuid = PermanentInstallationID.get(); | ||
PostHog.posthog.capture(uuid, | ||
"intelliJ:appActivated"); | ||
} | ||
} |
Oops, something went wrong.