Detect IDEA/RubyMine from a plugin Follow
I want my plugin to enable some actions exclusively for IDEA and others only for the RubyMine IDE. I'm registering all plugin actions with a component, so I'm now looking for a way to detect if the plugin is currently active in the IDEA or in RubyMine IDE. How is it possible to detect in which IDE the plugin is currently active?
Please sign in to leave a comment.
The PlatformUtils class lets you do that.
Dmitry Jemerov How to that now that `PlatformUtils` is now internal ?