openrewrite / rewrite-python

OpenRewrite recipes for Python.
Apache License 2.0
17 stars 5 forks source link

Investigate building the IntelliJ python plugin. #41

Closed traceyyoshima closed 1 year ago

traceyyoshima commented 1 year ago

Currently blocked by https://intellij-support.jetbrains.com/hc/en-us/community/posts/10414203043474-Error-when-trying-to-build-PyCharm.

It's possible to build the Python plugin. The plugin will include everything necessary to run the PythonParser and may be within a reasonable size.

https://github.com/JetBrains/intellij-community/blob/master/python/README.md

## Building the Python Plugin

To build the Python plugin for IntelliJ IDEA Community Edition:

 * Download the .tar.gz distribution of the most recent EAP or release build of IntelliJ IDEA Community Edition;
 * Run the following command:

   ant -Didea.path=<download path> -Didea.build.number=<build number of the build you're using> plugin

The .zip file of the built plugin will be placed at distCE/python-community-<branch number>.SNAPSHOT.zip
traceyyoshima commented 1 year ago

Closing issue -- this has already been investigated and the jar will be too large.