How to judge whether the idea version used by the current user is the community version or the Ultimate version?

Answered

How to judge whether the idea version used by the current user is the community version or the Ultimate version?

 

if(  community version ){

//do something

}

if(Ultimate version){

//do something

}

0
1 comment

 i find this 

com.intellij.openapi.application.ApplicationInfo

is works
0

Please sign in to leave a comment.