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
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 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?... )