[Lang] Errors compiling JS project from sample code

Hi,
I'm trying to make a project using the Javascript Language API sample code. I followed the "Start Creating Your Own Plugin" directions and added the Javascript sample code to the module. But when I try to Make, 99 errors are generated, mainly for classes in com.intellij.lang.javascript.psi.impl, due to unimplemented methods. The main two missing methods are:

getIcon(int) in com.intellij.openapi.util.Iconable

getUserData(Key]]>) in com.intellij.openapi.util.UserDataHolder


I suspect I have something mis-configured.

Thanks,
Ron

1 comment

Add idea.jar to the classpath of IDEA SDK. This is not done automatically.

Ron schrieb:

Hi,
I'm trying to make a project using the Javascript Language API sample code. I followed the "Start Creating Your Own Plugin" directions and added the Javascript sample code to the module. But when I try to Make, 99 errors are generated, mainly for classes in com.intellij.lang.javascript.psi.impl, due to unimplemented methods. The main two missing methods are:

getIcon(int) in com.intellij.openapi.util.Iconable

getUserData(Key<T>) in com.intellij.openapi.util.UserDataHolder


I suspect I have something mis-configured.

Thanks,
Ron

0

Please sign in to leave a comment.