Help with Internal API Migration

Answered

Good day.

Recently I want to contribute to a emberjs plugin. Recently the author post an issue about the need to migrate an internal API usage, because it should not be use.

The only reference is this line

PlatformUtils.isIntelliJ() -> RESOURCE

As you can see, it just use the function isIntelliJ() to check the IDE. 

 

The question, is there an openapi module that I can use? Also, where I can review open api module documentation?

 

This is my first time I touch a Intelijj Plugin, so if you know a better way to check the IDE, please tell me.

 

Thanks

 

 

0
2 comments

Hi,

You can try using:

ApplicationNamesInfo.getInstance().getProductName() == "IDEA"
0

Thanks, Karol! I will try it. :)

0

Please sign in to leave a comment.