PyCharm 2022.2.2 Is Out!
We’ve just released the second bug-fix update for PyCharm 2022.2.
In this minor release, we’ve included major improvements for Python dataclass support.
For the attrs package, PyCharm now recognizes modern APIs such as attrs.define, attrs.mutable, and attrs.frozen, which are treated in the same way as attr.s, as well as attrs.field, which is treated in the same way as attr.ib.
PyCharm recognizes references to class attributes in docstrings, most notably in definitions of dataclasses and named tuples.
We’ve also improved the Rename refactoring for dataclass attributes. Renaming them in the constructor call will now update the definition, and vice versa. This also includes renaming attributes from docstrings.
This latest release includes the following fixes and improvements:
- The Python console now works correctly for projects where a remote interpreter was set up with the previous PyCharm version. [PY-55396]
- New Django projects on SSH or WSL are now created with a specific directory structure and the necessary environment. [PY-55110]
- Introspection for interpreters located in Docker images with non-root users now works as expected. [PY-50970]
- Parameterized “type” built-in is now recognized inside type hints. [PY-46257]
- enum.auto() calls are no longer reported as requiring an argument. [PY-53388]
- The Markdown auto-formatting action now correctly formats Markdown files with tables. [IDEA-262735]
- The IDE now shows a balloon notification in the background for pre-commit checks that finish with failing results. [IDEA-265084]
- Debugging no longer slows down when the watch return values option is enabled. [IDEA-300696]
You can find a full list of the resolved issues in the release notes.
We always look forward to your feedback and bug reports in our issue tracker.
Subscribe to Blog updates
Thanks, we've got you!
PyCharm 2023.2: New Live Templates for Django, Black Formatter Integration, Run Anything, and AI Assistant
With this build, you can now type your Django code faster with the new live templates, reformat your code in one click with the integrated Black formatter, and generate commit messages with the help of AI Assistant. Read on below for the full list of enhancements!
PyCharm 2023.2 Release Candidate Is Out
You can get the latest build from our website, through the free Toolbox App, or via snaps for Ubuntu. To use this build, you need to have an active subscription to PyCharm Professional. Download PyCharm 2023.2 RC Please note that AI Assistant, which was previously included in th…
Build Django Apps on Google Cloud With PyCharm and Cloud Code
Learn how to build and run your applications both in a local Kubernetes cluster (Docker Desktop or Minikube) and remotely in Google Kubernetes Engine using Cloud Code and PyCharm.