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?
请先登录再写评论。
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.