UAST API not available as expect.

已回答

I am trying to build a IntelliJ plugin. Currently, I'm using Community Edition 2022.2.2 Build #IC-222.4167.29. I would like to use UAST and trying to convert a PsiElement to UAST element buy using toUElement extension method like what this page is suggesting. I am having no luck so far as if the project does not have any UAST dependencies. My question is how can I work with UAST when development for a IntelliJ for Kotlin

评论操作 固定链接

Hi,

Please provide us with more details.

What does it mean that API is not available?

Does it compile?

Do you have any errors?

What is the code using the UAST API?

What are your Gradle build script and plugin.xml configurations?

0
评论操作 固定链接

Thanks everyone. I followed the setup in this page and UAST api like toUElement becomes available in the classpath now. 

0

请先登录再写评论。