New PyCharm 2.7 released with Django 1.5 support, improved refactoring and auto-completion

    In the latest version of PyCharm 2.7, the development team tried to take into account the wishes of the community, made several useful improvements and added support for the latest version of Django.

    More substantively:

    In version 2.7 PyCharm received a new interface theme in dark colors (Darcula), familiar from IntelliJ IDEA 12 .

    If you are the lucky owner of the brand new MacBook, then your eyes will be pleased with new icons designed specifically for Retina screens.

    New refactoring
    Two new tools have been added that greatly facilitate the work with code: Change Method Signature and Extract Parameter. The first allows you to quickly and easily update the method signature and its calls in all project files, the second adds a parameter to the method signature, correcting its use in the method.

    PEP 8 Support
    To facilitate code writing in accordance with PEP 8 guidelines, PyCharm has been provided with a background code inspector that works as you type. Deviations from the standard are highlighted, in each case you can either reformat the text according to the rules or disable a specific rule using quick-fix tooltips.

    completion Auto- completion has become even smarter: now PyCharm is able to receive type information from the debugger during code execution. It is used to improve the quality of auto-completion, code analysis, and tooltips. Collecting type information can affect the performance of the debugger, so it is turned off by default. You need to enable it in the debugger settings: Settings | Project Settings | Python Debugger | Collect run-time types information for code insight.

    Support for TextMate Bundles
    For those who still think it's time to switch from Sublime Text to PyCharm, PyCharm developers made a pleasant surprise: now they support exactly the same syntax highlighting based on TextMate Bundles that is used in Sublime. If you decide that snippets and menu commands also deserve support, make a request to our bug tracker - the developers promise to respond.

    More convenient editor
    PyCharm rearranges the imports in accordance with PEP 8, that is, first there are standard, then external, then specific to this project (custom). Unused imports are deleted.

    In addition, the Unwrap / Remove action feature has been added in order to extract code from control structures (for example, if ... then ... else ...). The editor supports it not only for Python, but also for JavaScript, HTML, and others.

    Deployment in virtual machines
    If you develop your code in a virtual machine using Vagrant , you will be pleased with the built-in support for Vagrant in PyCharm: setting up interaction between the IDE and the virtual machine has become even easier .

    Connecting an external interpreter
    In the project properties, you must specify whether the interpreter will be used - local or remote. As a remote system, a virtual machine running under VirtualBox is also suitable. If the package management tools for python are not installed on the selected system, PyCharm will warn you that they need to be installed, and if you allow it, it will install it.

    To connect to a remote system via SSH, you can use the PyCharm built-in SSH console (Tools | Run SSH terminal) - an external SSH client is no longer needed.

    Where to download
    Download , try. A 30-day trial period is included.

    Upgrading to version 2.7 is free for anyone who has purchased a license after February 7, 2012.

    Also popular now: