Webinar: “Advanced Debugging in PyCharm”

PyCharm’s debugger is one of its most popular features. But many just stick to the basics and don’t learn intermediate and advanced features. In this webinar, two of PyCharm’s core developers who work on the debugger show its less-known but powerful features, while talking a bit about the debugger architecture and future improvements.

  • Thursday, January 23rd
  • 5:00 PM – 6:00 PM CET (11:00 AM – 12:00 PM EST)
  • Register here
  • Aimed at intermediate Python developers

Webinar_PyCharm_AdvancedDebugging_register_now

Outline

Here’s what we’re thinking about covering. Got something you’d like to see? Add a comment below and we can try to work it into the schedule.

  • Architecture overview
  • Intermediate features
    • More about breakpoints
    • Use logging instead of print()
    • Watch expressions
    • Smart stepping and stepping filters
    • Attach to process
    • Show return values
    • Run with Python Console
    • On-demand loading

Speakers

Elizaveta Shashkova is a software developer of the PyCharm IDE at JetBrains. She’s been working on Python debugger for several years and currently she’s focused on Data Science tools.

Andrey Lisin is a software developer at JetBrains. He is the current maintainer of the PyCharm debugging subsystem. Before that, he was doing back-end development and machine learning.

Posted in Webinar | Tagged | Leave a comment

PyCharm 2019.3.1

Have you made some plans to build a cool side project over the holidays? We polished PyCharm further to make sure you can focus on getting it done! Tweet us @pycharm to tell us about your project!

Improved in PyCharm

  • As a part of our Python 3.8 support, we give you code insight for TypedDicts. In this version of PyCharm, we’ve resolved some false positives and other small errors.
  • PyCharm supports using reStructuredText (reST) in docstrings, unfortunately, PyCharm 2019.3 was a little overzealous and interpreted every docstring as reST for some users. We’ve curbed its enthusiasm.
  • MongoDB is supported in PyCharm Professional Edition since 2019.3. Some small issues have now been resolved, for example: we showed only the date portion of an ISODate, and now we’ve restored them to their full length.

And many more small fixes, see our release notes for details.

Getting the New Version

You can update PyCharm by choosing Help | Check for Updates (or PyCharm | Check for Updates on macOS) in the IDE. PyCharm will be able to patch itself to the new version, there should no longer be a need to run the full installer.

If you’re on Ubuntu 16.04 or later, or any other Linux distribution that supports snap, you should not need to upgrade manually, you’ll automatically receive the new version.

 

Posted in Release Announcements | Tagged | 1 Comment

PyCharm 2019.3 is out now

Interactive widgets for Jupyter notebooks, MongoDB support, and code assistance for all Python 3.8 features. Download the new version now, or upgrade from within you IDE.

New in PyCharm

  • Interactive Widgets for Jupyter Notebooks. A picture is worth a thousand words, but making it interactive really makes your data come to life. Interactive widgets are now supported in PyCharm.
  • MongoDB Support. One of the most commonly used NoSQL databases is now supported by the database tools included in PyCharm Professional Edition.
  • We’ve completed support for all Python 3.8 features: you can now expect PyCharm-grade code completion when you use TypedDicts. We’ve also added support for Literal type annotations, and more.
  • Why is it that when you get a CSV file, it always has a very long name which is very prone to typos? We’ve now added a small convenience feature that’ll save you: completion for filenames in methods like open and Panda’s read_csv.

And many more improvements, like faster indexing of interpreters, read about them all on our What’s New page.

 

Posted in Release Announcements | 3 Comments

Webinar: “React+TypeScript+TDD Part 2” with Paul Everitt

Last month we did a webinar on using PyCharm to write React+TypeScript apps using TDD. We teased a “Part 2” that was more in-depth. Thanks to the good folks at WebStorm, we’ll be doing a Part 2, Tuesday, December 10th, 6:00 PM – 7:00 PM CET (12:00 – 1:00 PM EST).

  • Tuesday, December 10th
  • 6:00 PM – 7:00 PM CET (12:00 – 1:00 PM EST)
  • Register here
  • Aimed at intermediate frontend developers

DSGN-8345_Webinar_Weact+TypeScript+TDD_in_WebStorm_Part2_1300x880_mail_button_register

About Part 2

In the second part, we’ll dive a little deeper into how to be more productive when building React applications using TypeScript and cover the following topics:

  • Sharing props using type information
  • Class-based components with props
  • Modeling class state with TypeScript interfaces
  • Rich events and testing

In the first part we went slow, presuming less knowledge of both the React frontend stack and how to drive it in the IDE. This session will focus more on driving React and TypeScript features from a testing perspective.

As a reminder, both Part 1 and Part 2 are based on the tutorial in the PyCharm Guide.

Posted in Webinar | Leave a comment

PyCharm 2019.3 Release Candidate

The release of PyCharm 2019.3 is right around the corner and we’re excited to announce we now have available a release candidate version. Check it out by downloading it from our website!

Improvements in this version

  • We’ve solved the issues causing remote interpreters to take a considerable amount of time and take up a lot of space while running commands. With this version expect remote interpreter usage to be less time and space consuming.
  • The visualization of executed cells for Jupyter Notebooks was improved. In the past, executing a cell might caused some misplacement by scrolling out of the result view that corresponded to the executed cell and that is no longer an issue.
  • A regression issue that caused the debugger not to work properly when special characters were used in the paths of files was fixed.
  • This version makes also the Run | Attach to Process action to be compatible with Python 3.8. If you’re running local processes with Python 3.8 you can now use the debugger capabilities the same way you usually do it in PyCharm.

Read the release notes to learn more.

Interested?

Download the RC from our website. Alternatively, you can use the JetBrains Toolbox App to stay up to date.

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

The release candidate (RC) is not an early access program (EAP) build, and does not bundle an EAP license. If you get PyCharm Professional Edition RC, you will either need a currently active PyCharm subscription, or you will receive a 30-day free trial.

Posted in Release Announcements | 11 Comments

PyCharm 2019.2.5

A new version for PyCharm 2019.2 is now available!

New in this Version

TypedDict support for Python 3.8

Following our continuous efforts to keep up with Python 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-11-19 at 11.34.16 AM

Further fixes

  • We’ve fixed and issue that caused the generation of a large skeleton file on remote interpreters.
  • The issue causing the Python plugin for IntelliJ not to work properly with the debugger when a tests Python module was created was solved.

Getting the New Version

You can update PyCharm by choosing Help | Check for Updates (or PyCharm | Check for Updates on macOS) in the IDE. PyCharm will be able to patch itself to the new version, there should no longer be a need to run the full installer.

If you’re on Ubuntu 16.04 or later, or any other Linux distribution that supports snap, you should not need to upgrade manually, you’ll automatically receive the new version.

Posted in Release Announcements | 3 Comments

Webinar Recording: “Visual SQL Development with PyCharm” with Maxim Sobolevskiy

This week we had a webinar with Maxim Sobolevskiy, the DataGrip Product Marketing Manager, showing the wonderful, magical Database tool in PyCharm. The webinar recording is now available.

In this webinar Max covered many of the amazing features of DataGrip: connections and connection settings, queries with autocomplete and refactoring, working with results, browsing/querying/editing data, export/import, and more. Paul then showed a simple Flask application and how the Database tool is injected into Python code.

If you work at all with SQL in Python projects, take some time to watch the webinar. It’s powerful stuff and will deeply improve your velocity.

The webinar has a sample repository with a Docker Compose setup for the sample PostgreSQL server, along with instructions to recreate the Flask project.

Posted in Video, Webinar | Leave a comment

PyCharm 2019.3 Beta

We’re very excited to announce the Beta release for PyCharm 2019.3, a feature-complete preview of the upcoming release. Give the Beta build a go and try all the new functionality – download it from our website.

Improvements in PyCharm 2019.3 Beta

  • The issue causing the UI to be unresponsive when an exception was raised while using Python console completion was fixed.
  • We’ve solved the problem causing the Clear All action for the console to raise some errors.
  • Auto generated test files from templates (unittest and pytest) now support classes without methods to generate test files.
  • If you’re using symlinks in your tests you will find that stack traces now consistently will show the symlink instead of the real path in the console.

Further Improvements

For more details on what’s new in this version, please refer to the release notes.

Interested?

Get the PyCharm 2019.3 Beta build from our website. Alternatively, you can use the JetBrains Toolbox App to stay up to date with early builds.
PyCharm 2019.3 Beta is part of Early Access Program, so the EAP rules apply.

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
  • The latest version of the documentation is now also available

 

Posted in Early Access Preview | 2 Comments

PyCharm 2019.2.4

PyCharm 2019.2.4 is now available!

Fixed in this Version

  • A regression issue that caused Pytest not to work properly with the debugger console was fixed.
  • The debugger console problem for PyQt5 that caused it to crash was solved.
  • We fixed an issue that was causing NumPy arrays not to be properly formatted in the Data View panel.
  • The IronPython problem causing the debugger to fail was fixed.
  • We took care of the debugger stack trace messages that are displayed when the debugger is stopped so they won’t show so you can properly know when the process was ended.
  • The regression issue causing the Pytest test suite to raise an error in PyCharm was solved.

Further Improvements

  • A platform issue that was modifying original file permissions upon saving them was solved.
  • We tweaked the error messages for SSH connections to show information properly.
  • Adding data source for databases via the explorer now opens directly the actual type of data source selected.
  • Completion for databases is now aware of the database or schema you’re currently working with so it will only show suggestions that belong to that context.
  • And much more, check out our release notes for more details.

Getting the New Version

You can update PyCharm by choosing Help | Check for Updates (or PyCharm | Check for Updates on macOS) in the IDE. PyCharm will be able to patch itself to the new version, there should no longer be a need to run the full installer.

If you’re on Ubuntu 16.04 or later, or any other Linux distribution that supports snap, you should not need to upgrade manually, you’ll automatically receive the new version.

Posted in Release Announcements | Leave a comment

2019.3 EAP 7

A new Early Access Program (EAP) version for PyCharm 2019.3 is now available! If you wish to try it out do so by downloading it from our website.

New for this version

R plugin support

We are happy to announce that PyCharm now supports the R language and development environment plugin to perform statistical computing as part of our scientific tools offering. Perform data wrangling, manipulation and visualization with the library tools that R has available. To start using it download the R language, install the R plugin in PyCharm and configure the R interpreter.

After doing this you can start creating .R files (that you can easily identify by the py_r_logo icon) for which we will provide code assistance like: error and syntax highlighting, code completion and refactoring, creation of comment lines, intention actions and quick fixes.

To make the most out of this scientific tool you will have available a console, graphic tool window, and packages, HTML and table views to work with:

Screenshot 2019-10-31 at 2.32.41 PM

Want to know more? Visit our R plugin support documentation to get detailed information on installation and usage.

Further improvements

  • An issue causing Docker remote interpreters not to reflect updated libraries in PyCharm was fixed. Now every time you update your Docker packages they will be auto updated as well in PyCharm.
  • The PEP8 warnings showing incorrectly for assignment expressions were solved.
  • For 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.

Posted in Early Access Preview | 1 Comment