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 : https://intellij-support.jetbrains.com/hc/en-us/community/posts/360004290319/comments/360000627580

PlatformUtils.isIdeaUltimate()

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

For now, I use next workaround: I checked if 

LicensingFacade.getInstance()

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

That not gonna work soon according to Lidiya Chernigovskaya comments https://intellij-support.jetbrains.com/hc/en-us/community/posts/360004290319/comments/360000627420 : 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?...

1
1 comment
It can be very hard to find a good long lasting car wax which provides your car with that showroom finish. But you don’t need to worry about that anymore as we have done research in your stead and created a list containing the best wax for black cars with swirls.
-1

Please sign in to leave a comment.