Getting the intellij version from plugin based on gradle-intellij-plugin


I am developing a plugin based on gradle-intellij-plugin and in order to get some usage stats I would like to have the version (or build number) of the IDE running the plugin I am creating and also if is possible the operative system and hostname.

Is that possible?

1 comment
Comment actions Permalink

Use com.intellij.openapi.application.ApplicationInfo to collect information regarding IDE.

All the other information can be obtained with plain Java, however, I wouldn't advise you to log the hostname due to GDPR.


Please sign in to leave a comment.