How can i get IntelliJ IDEA SDK?

Answered

In my plugin, I need to set Intellij IDEA SDK like Module SDK to one of users module.

I am trying to set it via ModuleBuilder:

javaModuleBuilder.setName(moduleName);
javaModuleBuilder.setModuleJdk();

How can i get Intellij IDEA Sdk object?

1 comment
Comment actions Permalink

See org.jetbrains.idea.devkit.projectRoots.IdeaJdk from Devkit plugin. Note that this is deprecated way of setting up plugin projects, Gradle should be used instead http://www.jetbrains.org/intellij/sdk/docs/basics/getting_started.html

0

Please sign in to leave a comment.