We’ve simply launched the second bug-fix replace for PyCharm 2022.2.
You possibly can replace to this model from contained in the IDE, through the use of the Toolbox App, or through the use of snaps in case you are a Ubuntu consumer. You can even obtain it from our web site.
On this minor launch, we’ve included main enhancements for Python dataclass assist.
For the attrs package deal, PyCharm now acknowledges trendy APIs similar to attrs.outline, attrs.mutable, attrs.frozen which are handled in the identical approach as attr.s, and attrs.discipline that’s handled in the identical approach as attr.ib.
PyCharm acknowledges references to class attributes in docstrings, most prominently in definitions of dataclasses and named tuples.
Rename refactoring of dataclass attributes has been improved. Renaming them within the constructor name will replace the definition and vice versa. This additionally consists of renaming attributes from docstrings.
This newest launch consists of the next fixes and enhancements:
- Mounted regression: Python console works for tasks the place a distant interpreter was arrange with the earlier PyCharm model. [PY-55396]
- Mounted regression: New Django tasks on SSH or WSL are created with a selected listing construction and the mandatory atmosphere. [PY-55110]
- Mounted regression: Introspection for interpreters positioned within the Docker pictures with non-root customers now works. [PY-50970]
- Parameterized “varieties” built-in is now acknowledged inside sort hints. [PY-46257]
- enum.auto() calls are now not reported as requiring an argument. [PY-53388]
- The Markdown auto-formatting motion now accurately codecs Markdown recordsdata with tables. [IDEA-262735]
- The IDE now exhibits a balloon notification within the background for pre-commit checks that end with failing outcomes. [IDEA-265084]
- Efficiency enchancment: There isn’t any longer a slowdown in debugging efficiency when the watch return values possibility is enabled. [IDEA-300696]
You’ll find a full listing of the resolved points within the launch notes.
We at all times sit up for your suggestions and bug stories in our situation tracker.