Files
openide/python
Ilya.Kazakevich 134792445b PY-75188: Obey allowed env types when restoring preferred envs, so Jupyter uses Conda only.
Each project type might have a list of allowed envs. For Jupyter this is conda only.
We store user choice and restore it back on the next new project trying to suggest the same env type user used previously.

However, we must limit this by a list of allowed interpreters: even if vanilla CPython was used for the previous project, we still can't use it for Jupyter.

GitOrigin-RevId: cb0e5b311d1f2020df474df9fe436875a386f55c
2024-08-14 16:12:05 +00:00
..
2024-08-12 09:37:32 +00:00
2024-08-12 09:37:32 +00:00

official JetBrains project

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