Why moduleBuilder in SDK sample does not work in PyCharm Community ?

Answered

Hello, I want to develop a custom plugin to support creating a new project type on both PyCharm, IDEA and CLion. I am learning from the sample code. But I download the SDK sample from https://github.com/JetBrains/intellij-sdk-code-samples/tree/main/module, build the "module" plugin, install it in PyCharm 2021.3.3 (Community Edition), it does not work. I could not create the SDK Demo Module. How can I implement creating a new project type in PyCharm? Thank you!

in IDEA, it works:

in PyCharm, it does not work:

1 comment
Comment actions Permalink

Hi! For implementing the same functionality in PyCharm you should implement a custom project generator (which inherits from `com.jetbrains.python.newProject.PythonProjectGenerator`) and register it in your `plugin.xml` as 

<directoryProjectGenerator implementation="<your implementation class here>"/>
1

Please sign in to leave a comment.