简体   繁体   English

如何添加com.intellij.javascript.nodejs以创建想法插件?

[英]How to add com.intellij.javascript.nodejs for create idea plugin?

Code include 代码包括

import com.intellij.javascript.nodejs.interpreter.NodeJsInterpreterRef

When I'm trying to build it shows me this error message: 当我尝试构建时,会显示以下错误消息:

Error:(4, 32) Kotlin: Unresolved reference: nodejs 错误:(4、32)Kotlin:未解决的参考:nodejs

Please follow the instructions for setting up a development environment. 请按照说明设置开发环境。

NodeJsInterpreterRef is provided by "JavaScript Support" plugin. NodeJsInterpreterRef由“ JavaScript支持”插件提供。 You'll need to add the JavaScriptLanguage.jar to the classpath of your IDEA SDK. 您需要将JavaScriptLanguage.jar添加到IDEA SDK的类路径中。 You should be able to find it in plugins/JavaScriptLanguage/lib inside your IntelliJ install directory. 您应该可以在IntelliJ安装目录内的plugins/JavaScriptLanguage/lib找到它。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM