bluelovers
bluelovers

Reputation: 1255

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

Upvotes: 1

Views: 311

Answers (1)

Sergey.Simonchik
Sergey.Simonchik

Reputation: 1041

Please follow the instructions for setting up a development environment.

NodeJsInterpreterRef is provided by "JavaScript Support" plugin. You'll need to add the JavaScriptLanguage.jar to the classpath of your IDEA SDK. You should be able to find it in plugins/JavaScriptLanguage/lib inside your IntelliJ install directory.

Upvotes: 1

Related Questions