File -> new product... | new module... -> new type

Hi, I am new to plugin development so pls be kind ;)

I have read and watched several sites and videos, but non of them helps me understand what I need to do.

I want to create a plugin that gives me a new project/module type listed when I click this: File -> new product... | new module...   

I have come so far that (I think) I need to extend ModuleType and add it to the plugin.xml

<extensions defaultExtensionNs="com.intellij">
    <moduleType id=“MY_MODULE" implementationClass=“com.mydomain.ide.module.MyModuleType"/>

I also tried to add a ModuleConfigurationEditorProvider


But I can’t get it to be shown in the new project dialog.

Is there some where a bare minimun solution I can look at, a simple tutorial perhaps or anyone that can help me?

Comment actions Permalink

DevKit plugin has custom module type, see org.jetbrains.idea.devkit.module.PluginModuleType and related.

Comment actions Permalink

Thanks, do you know any open source plugin that uses that?

Comment actions Permalink

DevKit plugin is part of IntelliJ IDEA Community Edition, so the source is available under Apache2 license


Please sign in to leave a comment.