com.intellij.lang.javascript.psi not exist

i am new to developing plugin of idea.
i want to develop a plugin which is similar with https://github.com/idok/eslint-plugin.
so before i start,i want to read the soure code of eslint-plugin.
but when i debug eslint-plugin,i get these errors:

Error:(4, 40) java: G:\workspace\java\eslint-plugin\src\com\eslint\utils\JSBinaryExpressionUtil.java:4: 软件包 com.intellij.lang.javascript.psi 不存在
Error:(11, 70) java: G:\workspace\java\eslint-plugin\src\com\eslint\utils\JSBinaryExpressionUtil.java:11: 找不到符号
符号: 变量 JSTokenTypes
位置: 类 com.eslint.utils.JSBinaryExpressionUtil
Error:(11, 95) java: G:\workspace\java\eslint-plugin\src\com\eslint\utils\JSBinaryExpressionUtil.java:11: 找不到符号
符号: 变量 JSTokenTypes
位置: 类 com.eslint.utils.JSBinaryExpressionUtil
Error:(19, 46) java: G:\workspace\java\eslint-plugin\src\com\eslint\utils\JSBinaryExpressionUtil.java:19: 找不到符号
符号: 类 JSBinaryExpression
Error:(22, 24) java: G:\workspace\java\eslint-plugin\src\com\eslint\utils\JSBinaryExpressionUtil.java:22: 找不到符号
符号: 类 JSBinaryExpression
位置: 类 com.eslint.utils.JSBinaryExpressionUtil


my idea version is 14.1.3 ultimate
and i has set the Intellij Platform Plugin SDK
QQ图片20150613233949.jpg

could anyone tell me how to resolve thie problem

4 comments
Comment actions Permalink

You need to add the .jar files of the JavaScript plugin (plugins/javascript/lib/*.jar) to the classpath of your IntelliJ IDEA SDK.


0
Comment actions Permalink

QQ图片20150614162044.png
but there isn't javascript folder in my plugins folder of idea

0
Comment actions Permalink

thans very much.
i have found the class.
it is in the plugins\JavaScriptLanguage\lib folder

0
Comment actions Permalink

@Dmitry Jemerov where I could found the jar file? Do it exist in maven central?

0

Please sign in to leave a comment.