Help with Internal API Migration

已回答

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

Hi,

You can try using:

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

Thanks, Karol! I will try it. :)

0

请先登录再写评论。