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?...
Please sign in to leave a comment.