Detecting is user has ultimate edition

We are discussing writing a plugin for Intellij. It came up that we would prefer to amke the plugin free to people who are using the ultimate edition and charge a small fee for people using the commuity edition. Is there any way to differentiate bwetween  someone  using the ultimate edition and someone using the community edition? Can we do this pre-purchare ? Is there something we can check for at runtime?


Thank you.

0
1 comment

The easiest way to check this on runtime is to get the value of the idea.platform.prefix system property. It will be equal to "Idea" for Community Edition and an empty string for IntelliJ IDEA Ultimate.

I don't think it can really be checked pre-purchase.

0

Please sign in to leave a comment.