Pycharm 2016.3 Public Preview Release

Source: Internet
Author: User
Tags virtual environment docker compose datagrip

Pycharm 2016.3 Public Preview release, Pycharm is a Python IDE with a complete set of tools to help users improve their efficiency when developing with the Python language, such as debugging, syntax highlighting, project management, code jumps, smart tips, auto-completion , unit testing, version control. In addition, the IDE provides advanced features to support professional web development under the Django framework.


Pycharm 2016.3 Public Preview release shows that Pycharm 2016.3 has entered the beta phase. It is now complete and will not add any new features, focusing on repairing and improving existing features.


Pycharm 2016.3 Public Preview Release


The update reads as follows:


One, Python 3.6


Pycharm 2016.3 will provide the following support for the latest Python 3.6:


1.PEP 526: Variable comment syntax: Pycharm now recognizes the new syntax and uses type-meta information about type inference. Ultimately, this will positively affect code completion, checking, and error checking. In addition, we added a special code intent (called with ALT + Enter) to automatically convert the comment-based type hint to the variable comment syntax and return.


2.PEP 498: Formatting string literals: Basic support for the F string recognizes its syntax and provides code completion in the replacement field enclosed in curly braces. A special code intent (called with ALT + ENTER on a code statement) automatically converts Str.format () to a formatted string literal and returns:


Pycharm 2016.3 Public Preview Release


3.PEP 515: Underline in digital text: This PEP expands python syntax and numbers from string constructors so that underscores can be used as visual delimiters for numeric grouping purposes in integer, floating-point, and plural numeric literals.


4.PEP 525 and PEP 530: These 2 standards introduce asynchronous generators and understanding. Pycharm provide them with code checks and use them for type inference.


Additional support for the new PEP now includes code injection in comments within the function type comment. This means that Pycharm recognizes the syntax and provides highlighting of the type hints specified in the comments, checks them for errors, provides quick fixes, and monitors all the prompts that are used to correctly import from the type module. This makes it easier and more secure to use type annotations in your code.


Second, Django


Dango support has been enhanced in many ways:


1.Django projects can be run/debugged on remote machines: Using Pycharm 2016.3, you can create a new project to run and debug on a remote machine. All you need is to specify an SSH or vagrant-based remote interpreter in the Project settings (settings (Mac OS x Preferences | project | Project interpreter).


Pycharm 2016.3 Public Preview Release


2. We have implemented code completion for a Django form in a class-based view. Pycharm now understands the form context in class-based views and displays form-specific AutoComplete and recommendations in the same way as a function-based view.


3.Pycharm 2016.3 supports the new syntax for templates that was first introduced in Django 1.8: New projects are now created with the latest format,

The template dirs and template application dirs is loaded in the way it works in Django 1.8 (from Templates), provides code completion for all template dict keys, options, and context_processors.


Iii. better handling of multi-line commands in the Python console


Pycharm 2016.3 Public Preview Release


Fixed a series of errors related to multi-line commands in the Python console, with some improvements.


Iv. Enhanced Variable Explorer


The new simplified variable view option is enabled by default, and all instances of Dunder variables, functions, classobj, and modules are hidden in a separate group named "Special variables" in the variable explorer. In addition, if you use the Ipython driver interpreter in debug mode, all utility Ipython variables will also be moved to this group:


Pycharm 2016.3 Public Preview Release


For variables with long values (such as the numpy array or the pandas data frame), you can notice the special new "view as ..." hyperlink in the variable browser. Click it to view the values in a separate pop-up view:


Pycharm 2016.3 Public Preview Release


Five, Docker compose integration


Pycharm 2016.3 Public Preview Release


Several neat improvements have been made in the Docker compose integration:


1. You can now specify multiple compose files when you define a docker compose-based Python interpreter for your project to extend the entire compose file. Previously, only directories or specific compose files could be specified in the Docker compose interpreter configuration. Now, in Pycharm 2016.3, you can specify a specific compose file and extend it with a different overwrite configuration.

Note: Using multiple compose files allows you to customize compose applications for different environments or for different workflows.


2. Some compose files can contain variables that are replaced with the appropriate environment variables when Docker-compose executes. Pycharm 2016.3 provides a convenient way to specify environment variables in the Docker Compose Interpreter Configuration dialog box, as shown above.


Vi. venv in terminal activation


Pycharm 2016.3 Public Preview Release


The virtual environment associated with the project currently being processed is now activated by default when the Pycharm embedded terminal is opened. Bash,zsh,fish or Windows CMD supports automatic venv activation. You can specify or change the shell tools and terminals for your preferences in Settings (preferences).


VII. Branch Coverage


Pycharm 2016.3 Public Preview Release


Pycharm 2016.3 brings an improved integration of code coverage tools. Added a new branch overlay option, which is disabled by default, but can be easily enabled, built, executed, deployed, overwritten, and so on in Settings (preferences). When this option is enabled, Pycharm adds additional information to the Pure row overlay report, marking the line coverage of the conditional statement as incomplete if one or more branches are not executing.


Viii. using Vmprof for line profiling


Pycharm 2016.3 Public Preview Release


Integration with VMPROF has been achieved in Pycharm 2016.2. Another step towards a productive analysis, supported by the Vmprof "Profile line" option. This option is enabled by default when you run the project in profiling mode. After collecting statistics, you can view the route analysis results in the editor in the left slot, in addition to viewing the Standard Analyzer report, call graph and call tree. Lines that consume more processor time are marked in red. To use this feature, you only need to install the VMPROF package on your interpreter using Package Manager.


Ix. Version Control improvements


Branch operations to undo commit and delete/Resume traces

Signature submissions and file scope highlighting

Git&mercurial Log Enhancements

Automatically resolve version control conflicts

Managing git remotely

......


X. Platform and UI changes


Improved find in the Path dialog box

New Flat file icon

Font improvements, including new default San Francisco fonts prepared for Mac OS


Web-related improvements include:


TypeScript Smarter Rename

Angular CLI

Grouping files in a project view

The deconstruction assignment of ECMAScript 6

Integration with Flow

Using Docker in the node. JS App

Angular 2 Coding Assistance Enhancements

The new React Project

Typescript improvements


XI. Database Tools Improvements


In the Pycharm 2016.3 Public Preview, you can find various database tool enhancements that come from the Datagrip,jetbrains database IDE. Pycharm contains all the new features of the Datagrip:


Database driver Management

Edit multiple fields at the same time in the table editor

Bulk Commit Changes

Renaming a View

XML Extractor

Manuscripts: Custom Development www1.qixoo.com

Pycharm 2016.3 Public Preview Release

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.