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

已回答

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

 i find this 

com.intellij.openapi.application.ApplicationInfo

is works
0

请先登录再写评论。