As promised almost a month ago, we’ve finally made available the source code of PyCharm 3.0 Community Edition. It took us a while because we wanted to publish the complete package, with all tests and full development history. I’m happy to say that the hardcore Git magic that we used has worked almost perfectly, and the 10,000+ commits that comprise the history of PyCharm’s now open-source part since 2008 have successfully been moved to the IntelliJ IDEA Community Edition repository; almost 2200 tests are also all there and all green.
The code is all there on GitHub, ready for you to play with. It’s not a separate project but rather part of the main IntelliJ IDEA Community Edition project, which means that you’ll have full access to both the platform and Python-specific code when hacking on stuff. We’ve prepared two run configurations for you to run the code; one for PyCharm itself and another for IntelliJ IDEA with the Python plugin. Additional build instructions can be found in the README file.
Note that PyCharm 3.0 and the 3.0.x updates are released from the branch named “131”. The “master” branch is what will become PyCharm 3.1; the branches haven’t diverged much as of right now but will diverge as we ramp up development.
Of course, we’d be happy to see your contributions to PyCharm. If you’d like to do something but aren’t sure where to start, we’ve annotated a bunch of YouTrack issues as “patch welcome”; most of those are fairly easy to implement and localized to a particular section of the codebase. Contributions are welcome as either patches or pull requests; note that you’ll need to sign the contributor agreement before we can accept your contribution.
If you have any questions on working with the code or implementing specific features, please stop by the Open API and Plugin Development forum.