PyCharm 2023.2.1 Is Out!
PyCharm 2023.2.1, the first bug-fix update for PyCharm 2023.2, is now available!
You can update to v2023.2.1 by using the Toolbox App, installing it right from the IDE, or downloading it from our website.
Here are the most notable fixes available in this version:
Updates to profiler support and code coverage
Profiler and code coverage functionality is now available for projects using remote interpreters, like those on SSH, WSL, Docker, and Docker Compose. You can now use cProfile, yappi, and vmprof. Additionally, you can now use profilers for projects that use Python 3.12.
Django
Inherited HTTP methods in the Endpoints tool window
In PyCharm 2023.2, we added support for Django in the Endpoints tool window to help you work with the Django Rest Framework more easily. Starting from this update, you will also be able to work with inherited HTTP methods for your Django views in the Endpoints tool window. [PY-61405]
We also fixed the bug that prevented generating HTTP requests in the Endpoints tool window for lowercase method names. [PY-62033]
PyCharm will now show the correct results for the Go To Declaration action for routes in the HTTP Client when working with the Django Rest Framework. This also works for FastAPI and Flask.
Run manage.py Task from the main menu with remote interpreters
When working with a project with a remote interpreter on Docker, Docker Compose, SSH, or WSL, you can now run the manage.py task from the main menu (Tools | Run manage.py Task). [PY-52610]
Python Run/Debug Configuration
Updates to the Parameters field
In the updated Python Run / Debug configuration, the Parameters field is available by default. We increased the minimum width for the field and restored the ability to add macros to the Parameters field. [PY-61917], [PY-59738]
We also fixed a bug that made it impossible to delete an option to add content roots or source roots to the PYTHONPATH. [PY-61902]
Black formatter: an option to suppress warnings about non-formatted files
In PyCharm 2023.2, we added built-in support for the Black formatter. If you have Black configured in PyCharm, the IDE will check whether each file you are working with is formatted properly. When your code is not formatted with Black, PyCharm will notify you. If you don’t want to use the Black formatter for a particular file or the whole project, you can now suppress warnings about non-formatted files.
You can set this up in Settings | Appearance & Behavior | Notifications.
Updates to frontend development support
We’ve added support for:
- CSS system colors. [WEB-59994]
- CSS trigonometric and exponential functions. [WEB-61934]
- .mjs and .cjs config files in Prettier. [WEB-61966]
General fixes
- You can again run multiprocessing scripts in the Python console. [PY-50116]
- Changing themes on Linux now works as expected. [IDEA-283945]
- The IDE no longer enters full screen mode unexpectedly on a secondary monitor when the Linux native header is switched off. [IDEA-326021]
- Updating bundled plugins no longer removes plugin files from the IDE’s installation folder. [IDEA-326800]
- We fixed the behavior of the Go To Implementation and Go To Declaration actions when Python stubs are involved. PyCharm now shows the implementation instead of .pyi stubs. [PY-54905], [PY-54620], [PY-61740]
For the full list of issues addressed in PyCharm 2023.2.1, please see the release notes. Please, feel free to share your feedback with us or report any bugs you encounter using our issue tracker.