Thursday, October 24, 2019

2019.3 EAP 6

The latest Early Access Program (EAP) version for PyCharm 2019.3 is now available! Try it now by downloading it from our website.

New for this version

Improved visualization of information about variables

The variables view got some improvements to show better and organized information about variables. Now, while using the console, debugger, or the Jupyter Notebook variables tab, you will notice changes on the way data for a variable is represented such as: display of shape and improved visual representation for scientific arrays (pandas: DataFrames, Series; numpy: ndarray), display of length information for objects with __len__ attribute, removal of duplicated type information, ids are no longer showcased for dictionary keys and set elements, and protected attributes that now are grouped, collapsed and placed at the bottom of the list of values.

This is how the variables view was showing information before:

FrameCapture 2019-10-18 at 10.30.55 AM

And this is how it’s been shown now:

FrameCapture 2019-10-18 at 10.31.20 AM

Support for code completion at runtime for Jupyter Notebooks

Runtime completion for code can now be used for Jupyter Notebooks cells. You can now expect the information from Jupyter kernel cell execution to be available on code completion suggestions.

Screenshot 2019-10-18 at 10.48.46 AM

Interactive widgets integration for Jupyter Notebooks

Support for Jupyter widgets was added to PyCharm. Use capabilities such as building GUI’s for your notebooks and synchronizing stateful and stateless information between Python and Javascript right from PyCharm.

FrameCapture 2019-10-18 at 11.36.16 AM

Option to display int values in hexadecimal and binary format from the variables view

Are you debugging network scripts or interfacing with hardware devices that require you to be aware of values in a non decimal format? Worry not as PyCharm now has integrated conversion of format for decimal values to hexadecimal or binary format straight from the console or debugger through the variables view.

Screenshot 2019-10-18 at 11.51.14 AM

TypedDict support for PyCharm 3.8

PyCharm 3.8 is already here and we continue our efforts to support its latests features. This time we added support for PEP-0589. With this, expect PyCharm now to comply against typed dictionaries definitions and let you know through type hints whether or not you’re implementing a dictionary properly against its typed keys.

Screenshot 2019-10-18 at 12.09.49 PM

File path completion suggestions in string literals

Need to use a file and want some assistance looking for it on your project file structure? PyCharm now supports file path completion from string literals by showing suggestions of the possible paths you want to use.

Screenshot 2019-10-18 at 1.19.22 PM

Live synchronization of Jupyter Notebook source code from external updates

PyCharm is now aware of any external change made on Jupyter Notebook files. In the past, changes were not reflected immediately making cases like running a Jupyter server and modifying files on that running instance via the browser, for example, not to be synchronized with the PyCharm project files. That’s no longer an issue with this release. Feel free to modify files externally and expect PyCharm to have the latest updates.

Further improvements

  • Code inspection for Python 3.8 was improved in the specific case of parenthesis usage in return and yield statements where is no longer necessary to use them.
  • The kernel specification on Jupyter Notebook now registers interpreters based on module information rather than on the project one.
  • Support was added for Windows Subsystem for Linux 2 (WSL 2) by Microsoft.
  • And much more, see the release notes

Interested?

Download this EAP from our website. Alternatively, you can use the JetBrains Toolbox App to stay up to date throughout the entire EAP.

If you’re on Ubuntu 16.04 or later, you can use snap to get PyCharm EAP, and stay up to date. You can find the installation instructions on our website.

EAP Program Key Facts

  • The EAP version of PyCharm Professional Version is free to use
  • EAP build will expire after 30 days
  • This is pre-release software, you may face stability issues and other rough edges
  • You can install the EAP version alongside a stable version of PyCharm
  • EAP versions of PyCharm report statistics by default, you can opt out by changing the settings in Preferences | Appearance & Behavior | System Settings | Data Sharing
  • There’s an EAP version of the documentation as well


from PyCharm Blog
read more

No comments:

Post a Comment

TestDriven.io: Working with Static and Media Files in Django

This article looks at how to work with static and media files in a Django project, locally and in production. from Planet Python via read...