This is needed to have an explicit dependency on the backend in it (IJPL-188916). The new module is registered in common-ide-modules.xml to include it in all IntelliJ-based IDEs as before. It's also explicitly included in Fleet Backend to keep the old behavior. Existing plugins which depend on intellij.platform.ml.impl are updated to have an explicit dependency. 'jetbrains.mlapi*' and 'ngram' libraries which are used by the module are also moved to its content module, and other plugins which use these libraries now do it via dependency on the module. GitOrigin-RevId: be9dc19406b87f8978f7a922e950f9009e1aabda
PyCharm Community Edition
The "python" directory in the source repository contains the source code of PyCharm Community Edition and the Python plugin for IntelliJ IDEA Community Edition.
Building and Running
The code is part of the main IntelliJ IDEA Community Edition project and is compiled together with the rest of the codebase. To run PyCharm Community Edition, please use the provided run configuration "PyCharm Community Edition". To run IntelliJ IDEA with the Python plugin, please use the "IDEA with Python plugin" run configuration.
To run the test suite, use the built-in JUnit test runner and run all tests in the "python-community-tests" module.
Building from the Command Line
To build the distribution archive of PyCharm Community Edition, execute build.xml Ant build script in this directory. The results of the build execution can be found at out/artifacts.
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= -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-.SNAPSHOT.zip