How can i add a fake class without generate file in source in intellij plugin Follow
Answered
I am trying to add a fake class without generate file in local system storage, because i will use kotlin compiler plugin to generate a class while compiling, but i want it can be indexed in ide. I have found PsiAugmentProvider which can add method to class, but i have no idea about how to add a fake class for current project
Please sign in to leave a comment.
Use com.intellij.psi.PsiElementFinder extension point.
See also https://intellij-support.jetbrains.com/hc/en-us/community/posts/4412499761042-PsiElementFinder-analogue-for-Kotlin
Many thanks for your kind and warm help.