Commercial/Paid or Free IDE's instance recognition.

What is the best way to recognize if my plugin runs under commercial or free IDE?

For Idea, we can use a solution from Scott McKinney :


Unfortunately, that will not work for CLion, PhpStrom, etc.

For now, I use next workaround: I checked if 


Returns `null`, then it's free IDE otherwise it should be paid one.

That not gonna work soon according to Lidiya Chernigovskaya comments : When licenses are available in Community Products and EAP we will notify about it all developers of paid plugins. (By the way, if there any plans to implement that? 193? 201?... )

Any thought?...

Please sign in to leave a comment.