New PyCharm 4 Released: Bigger is Better!

    Hello Friday from JetBrains!

    We are pleased to tell you that the other day a new PyCharm 4 was released, which is already available for download .

    Exactly half a year has passed since the previous release of PyCharm 3.4, during which time we worked on various subsystems of PyCharm, and now we are glad to tell you what interesting and important things appeared in the new version of PyCharm.

    In it, we focused on tools for scientific programming. Perhaps the main and long-awaited feature of this release is the support for IPython Notebook directly in PyCharm:

    Now all the usual IPython Notebook actions can be performed directly in the IDE. Different types of cells are supported, it is possible to run them individually and see the results of execution, including graphic ones, right in the editor! Of course, some things are not yet supported, but in general, all the basic things are already working fine.

    The question is: what's the point of using IPython Notebook inside PyCharm instead of regular IPython? The answer is simple: in addition to the basic functionality of the IPython Notebook, PyCharm provides autocompletion, navigation, tips and other goodies characteristic of a smart and smart IDE. We just took and combined the advantages of both approaches based on PyCharm.

    Another addition to the piggy bank of the scientific component of PyCharm 4 functionality is a graphical viewerNumPy arrays :

    At the same time, we added improved support for code written using the NumPy library and included support for matplotlib in the Python integrated console. In the future, we plan to develop support for scientific libraries and tools.

    Application development in PyCharm 4 has become even more effective thanks to special support for Behavior-Driven Development (BDD) tools :

    PyCharm fully supports the two most popular BDD development tools - behave and lettuce. The IDE understands your text requirements on Gherkin, recognizes the conformity of text requirements and their implementation in the code, allows you to quickly navigate between them, helps not only to automatically create and modify tests, but also work effectively with them. Test run results are presented in a convenient graphical form so that you can easily view and navigate the results.

    Back in PyCharm 4, we seriously improved the debugger . First of all, we combined the PyCharm debugger code with the code from the original PyDev repository. This means that now work is underway on a single code, and improvements from the PyCharm team as well as from PyDev immediately go to the general repository. Thanks to this integration and active work on the new debugger, PyCharm 4 is nowknows how to join the running process :

    After joining, all the usual functions available from the PyCharm debugger become available. You can go to breakpoints, view and change the values ​​of variables and objects. In general, all without any restrictions. Note that all this is available on any platform.

    In addition to this, from the debugger you can view the scheme of accessing any object in a special window while debugging your code:

    There is another useful improvement: the PyCharm debugger began working with Jinja2 templates in the same way as with Django templates:

    This is not limited to all , PyCharm 4 has a number of important enhancements:
    • Improved Python / Django console window
    • the ability to automatically leave the console active after starting the project in order to maintain context and continue working in it;
    • viewing the tree of method calls;
    • improved package management system;
    • unittest subtests support for Python 3.4;
    • new wizard for creating projects.

    In addition to Python-specific things, the new PyCharm 4 includes improvements from WebStorm 9, for example, Gulp integration, as well as improvements from the IntelliJ platform, on which all our products are based, including IntelliJ IDEA 14. So, an improved UI in the settings appeared in PyCharm When creating a project, an IDE recognizes the style of code in separate files, as well as a smart backspace that takes into account these styles, an improved multi-course editing mode, and much more.

    By the way, if you missed this news , in October 2014 the JetBrains product line was replenished with an unusual modification of our Python IDE - PyCharm Educational Edition. This is the free open source PyCharm edition that is specifically designed for people who want to learn programming effectively, as well as for teachers who want to create PyCharm-based courses using interactive exercises. You can download the free Pycharm Educational Edition right now.

    Learn more about the innovations and improvements in PyCharm 4 on our website , and download the new version of the IDE for your platform .

    Program with pleasure!
    -JetBrains Team

    Also popular now: