News Releases

Introducing PyCharm 2022.1!

In this first release of 2022, we decided to focus on polishing existing features and workflows instead of adding new functionality, especially after our previous release that introduced multiple long-awaited features such as support for Jupyter and Remote Development, respectively. Here is a summary of what’s new in PyCharm 2022.1.

Download PyCharm 2022.1


Authentication support for custom package repositories

Now you can configure basic HTTP authentication to access custom package repositories and manage dependencies via PyCharm without switching to the terminal for manual installation.

Go to the Python Packages tool window, click on the gear icon, click the plus sign in the dialog window, add the repository URL, and then select the Basic HTTP option to enter the required credentials. The new repository will appear on the list of packages in the left-hand side window.

Code insight

Enhanced code completion for TypedDict

Dict literals can be used as arguments for functions or to instantiate objects from classes where TypedDict is expected. Doing so became even easier in PyCharm 2022.1 thanks to its new code completion for keys.

Improved TypedDict per-key warnings

We also improved the warnings for TypedDict. Now, when a dictionary created as a literal or by using the dict constructor is used where TypedDict is expected, PyCharm will display per-key error messages pointing to the individual values that are wrong, missing, or not expected.

Improved Markdown support

Run commands from Markdown files

You often find instructions with commands to execute when working with Markdown files, such as in README files, for example. Now you can just run those commands directly from the file itself, by using the run icon in the gutter.

Copy code snippet for Markdown

Copying and pasting code snippets from Markdown files is also very common, and now you can use the new Copy code snippet to do this, available in Markdown blocks.

Jupyter Support [Pro]

Code cells remain in Edit mode after execution

In order to make working with Jupyter notebooks a more fluid experience, new cells inserted after you Run Cell and Insert Below now default to Edit mode, so you can start writing code in it right away.

The same behavior applies when you are editing and decide to run your current cell. It will remain in Edit mode even after being executed.

Optimized cell copy-pasting

To make your Jupyter experience more pleasant still, we changed the copy/cut and paste behavior for when you copy or cut a cell that has an output while in Command mode. Now, whenever you paste it back to your notebook, the output will also be pasted and you won’t need to execute the cell again.

Databases [Pro]

MongoDB: Editing fields in results

In PyCharm 2022.1, editing the results in MongoDB collections or result sets obtained via .find() became as easy as it is in relational databases. This improvement also works when cursor methods that modify the result, such as sort() or limit(), are executed after .find().

Docker [Pro]

New Services UI for Docker

Working with Docker became easier and more organized in PyCharm 2022.1. We’ve significantly reworked the Docker UI in the Services tool window to give you much clearer control of your containers, images, networks, and volumes.

These are all the features we wanted to highlight. Read about other features included in this release on our What’s New page, or check the [release notes]() for the full list of implemented features and bug fixes.

As always, your feedback is highly appreciated. Share it with us on Twitter (@pycharm), or by reporting any bugs or requests to our tracker.

Happy coding!

The PyCharm team

Discover more