PyCharm 2022.3 EAP 4 is out!

This EAP build brings suppoot for the new Self type in Python 3.11, updated Tips of the Day, enhanced Bookmarks, and more.

You can get the latest build from our website or the free Toolbox App, or via snaps for Ubuntu users.

To catch up on the previously announced features anticipated in PyCharm 2022.3, check out our prior 2022.3 EAP blog posts. If you’re not familiar with the Early Access Program, read this blog post to see why you might want to take part, as there’s still time before the major release.

Now, let’s take a closer look at what EAP 4 has to offer.

Python 3.11 support

Self type

PyCharm 2022.3 will provide support for the PEP 673 Self type which is useful for annotating methods that return instances of their class, especially when inheritance is involved.

PyCharm now recognizes when you use Self for the method or attribute annotations, and it provides the correct instance type and code completion for it.

PyCharm will provide proper type checking for Self annotations and warn if the usage of Self is incorrect in the particular location.

Please try out PyCharm’s support for the Self type and share your experience with us.

Debugger

We implemented a fix to the PyCharm Debugger. Now Debugging Python 3.11 code no longer leads to the critical warning about incorrectly compiled Python versions.

User experience

Improved Tips of the Day

For v2022.3, we’ve enhanced Tips of the Day – a popular learning tool that helps users explore PyCharm and its features. To make the tips more useful and easier to digest, we’ve implemented a number of changes to the dialog’s appearance and behavior.

Each tip now has a heading to help you understand which area of the IDE is being described and quickly decide whether you want to learn more about the topic or skip it.

We’ve also added tip rating functionality. Use it to tell us whether you find this or that tip useful. This will help us better tailor the tips for you in the future.

Finally, we’ve fine-tuned the algorithm of how tips appear to make them more relevant to your experience with the IDE and the project you’re working on. With the new approach to sorting, you’ll first see tips about features you’ve never used before. In addition, tips that are considered irrelevant to the specific project (based on the file extensions and technologies being used) won’t be shown in the first place.

Improved Bookmarks

For v2022.3, we’ve implemented a few UI improvements to Bookmarks to fine-tune this functionality after the merge of the Favorites and Bookmarks instances in the 2021.3 release.

It is once again possible to bookmark files from editor tabs. Right-click on a tab to invoke the context menu and select Bookmarks.

In addition, you can add all files in all open tabs to Bookmarks. You can either invoke the same context menu and select Bookmark Open Tabs, or call this action using the kebab (three-dots) icon located on the right-hand side of the editor tabs pane. The IDE will put all open tabs into a new list of bookmarks, which you can name as you like.

Editor

Code Vision hints for JavaScript and TypeScript

We’ve implemented Code Vision inlay hints for JavaScript and TypeScript. These hints provide you with instant insights about your code right in the editor, displaying metrics like inheritors, usages, code authors, and related problems. The hints are interactive. For example, you can click on the usages hint to see all usages of the class or method in the project.

The metrics are all enabled by default now and can be modified in Settings/Preferences | Editor | Inlay Hints | Code vision.

For the full list of updates included in PyCharm  2022.3 EAP 4, see the release notes.

As always, your feedback is very welcome in the comments section below or on Twitter! If you find a bug, please report it to our issue tracker.

image description