📜 ⬆️ ⬇️

New PyCharm 4 released: more yes better!

All Friday greetings from JetBrains!

We are pleased to tell you that the new PyCharm 4 has recently been released, which is already available for download .

Since the previous release of PyCharm 3.4, exactly half a year has passed, during this time we have worked on various subsystems of PyCharm, and now we are happy to tell you what appeared interesting and important 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 IPython Notebook support right in PyCharm:





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

The question arises: what is the point of using IPython Notebook inside PyCharm instead of regular IPython? The answer is simple: in addition to the basic IPython Notebook functionality, PyCharm provides autocompletion, navigation, hints, and other features typical of smart and smart IDE. We just took and combined the advantages of both PyCharm-based approaches.

Another addition to the piggy bank of the scientific component of PyCharm 4 functionality is the NumPy graphical viewer:



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

Developing applications in PyCharm 4 has become even more efficient thanks to the special support of the BDD tools (Behavior-Driven Development) :



PyCharm fully supports the two most popular BDD development tools — behave and lettuce . The IDE understands your textual requirements on Gherkin, recognizes the compliance of textual 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 to work effectively with them. Test run results are presented in a convenient graphical form, so that you can easily view the results and navigate through them.

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 work is now being done on a single code, and improvements from both the PyCharm and PyDev teams are immediately transferred to the common repository. Thanks to this merge and active work on a new debugger, PyCharm 4 is now able to join the running process :



After joining, all the familiar functions available from the PyCharm debugger become available. You can walk through 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, from the debugger, you can view the scheme of calls to any object in a special window while debugging your code:



There is one more useful improvement: the PyCharm debugger started working with Jinja2 templates in the same way as with Django templates:



Everything is not limited to this, in PyCharm 4 there are a number of important improvements:


In addition to Python-specific things, new PyCharm 4 absorbed improvements from WebStorm 9, for example, Gulp integration, as well as improvements from IntelliJ platform, on which all our products are based, including IntelliJ IDEA 14. In PyCharm, an improved UI appeared in the settings IDE and when creating a project, recognizing the style of the code in separate files, as well as a smart backspace, which takes into account these styles, improved multi-mode 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 a free edition of PyCharm with open source software that is specifically designed for people who want to learn programming effectively, as well as teachers who want to create courses based on PyCharm using interactive exercises. You can download the free Pycharm Educational Edition right now.

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

Program with pleasure!
- JetBrains team

Source: https://habr.com/ru/post/243831/


All Articles