Testing a Custom Language plugin

Hi again, this may be related to my problems with AstWrapperPsiElement

How should one test a Custom Language plugin?  I would like to set up a JUnit suite, and I have been looking at the Groovy plugin test code.

However, this code seems to rely on classes that are not in my IDEA SDK.  For example,  IdeaTestApplication, ProjectManagerEx, PersistentFS, JavaPsiFacadeEx and IdeaLogger.

Thanks again
Peter

0

You need to add idea.jar to your IDEA-JDK for these classes.

0
Avatar
Permanently deleted user

Thank you Yann!

Add idea.jar to the SDK jars fixed both problems.

Thanks for the quick response.
Peter

0

请先登录再写评论。