PyCharm 2023.2.1

Released: Aug 24, 2023

2023.2.1 での更新項目

機能

  • 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, support was added 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.
    • 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.
  • Python Run/Debug Configuration
    • Updates to the Parameters field - In the updated Python Run / Debug configuration, the Parameters field is available by default. The minimum width for the field has been increased and the ability to add macros to the Parameters field has been restored.
  • Black formatter: an option to suppress warnings about non-formatted files - In PyCharm 2023.2, built-in support was added 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.
  • Updates to frontend development support
    • Added support for CSS system colors.
    • Added support for CSS trigonometric and exponential functions.
    • Added support for .mjs and .cjs config files in Prettier.

不具合の修正

  • Django
    • Inherited HTTP methods in the Endpoints tool window - Fixed the bug that prevented generating HTTP requests in the Endpoints tool window for lowercase method names. 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.
  • Python Run/Debug Configuration
    • Updates to the Parameters field - Fixed a bug that made it impossible to delete an option to add content roots or source roots to the PYTHONPATH.
  • General fixes
    • You can again run multiprocessing scripts in the Python console.
    • Changing themes on Linux now works as expected.
    • The IDE no longer enters full screen mode unexpectedly on a secondary monitor when the Linux native header is switched off.
    • Updating bundled plugins no longer removes plugin files from the IDE's installation folder.
    • 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.