Creating PyCharm plugins

Hello folks,

What is the process for creating plugins for PyCharm?

I'd like to create tools for some of my companys internal utilities but so far I only see information about creating plugins for Idea.

Cheers

8 comments

The process is essentially the same. PyCharm is basically a subset of IntelliJ IDEA with the Python plugin.

For more specific questions, use the Open API and Plugin Development forum: http://devnet.jetbrains.net/community/idea/open_api_and_plugin_development

0

I figured that much, but I wasn't completely certain whether I could only build plugins in Idea or not. Also, I'm curious (because it's not entirely obvious) where to specify what applications the plugin is targeted for. The plugin list for Idea is clearly much larger than the one for PyCharm for instance. When you run "Prepare Plugin Module for Deployment" there is no dialog box that asks which of the JetBrains IDEs you'd like to prepare it for... nor does it appear that there is any easy way to test it in PyCharm, running the plugin always runs IntelliJ.

I'll try the other forums.

0

How does one write the plugin.xml for a PythonRunConfigurationExtension ?

 

<extensions defaultExtensionNs="com.intellij">
<Pythonid.runConfigurationExtension implementation="com.foo.bar.SomeExtension"/>
</extensions>

? is this the way ? Are there other tags required ?
I am trying to create such an extension but my Java code is not called.
0

I got it to work with

<depends>com.intellij.modules.python</depends>

<
extensions defaultExtensionNs="Pythonid">
<runConfigurationExtension implementation="com.foo.bar.SomeExtension"/>
</extensions>
0

I have the same issue, but IntelliJ does not recognize 

com.intellij.modules.python

 

I am using Gradle so I know I should add a dependency in the build.gradle file, but I don't know exactly how. 

2

See details about platforms compatibility at 

http://www.jetbrains.org/intellij/sdk/docs/basics/getting_started/plugin_compatibility.html
0

Please sign in to leave a comment.