PyCharm 2022.3.x

Released: Dec 1, 2022

2022.3.x での更新項目

2022.3.3

Updated Mar 9, 2023

Features

  • Improved code coverage by bundling Coverage.py v.6.5 for working with Python 3.7 and later, and v.5.5 for working with Python 2.7 and Python 3.6.
  • Added support for tox 4.

Fixes

  • It is once again possible to work with Python packages on newer versions of Conda.
  • The Shelf tab doesn’t disappear from the Commit tool window anymore.
  • The Check RegExp action no longer results in a false Bad regular expression pattern alert.
  • The IDE correctly saves the set Docker WSL distribution option.

2022.3.2

Updated Jan 26, 2023

Features

  • The behavior of the Settings Sync plugin has been updated. Settings synchronization across different IDE products is now turned off by default and can be enabled via a checkbox in Settings/Preferences | Settings Sync.
  • Prisma ORM plugin: relationMode property can now be used in the data source configuration; previewFeatures values are autocompleted in lower camelcase. binaryTargets completion now works for all supported operating systems.
  • ESLint: flat configuration files are now detected and ESLint is executed without the --config flag.
  • TypeScript: accessor keyword is now recognized.

Fixes

  • Fixed the issue causing private PKCS #8 keys to malfunction when the IDE couldn’t locate the corresponding public key.
  • Search Everywhere once again works as expected, providing all text search results.
  • Test runner: Running pytest on Windows doesn’t cause a UnicodeEncodeError with non-UTF8 locales.
  • Debugger: Running pytest in debug mode no longer fails with a missing `pydev_tests_python` module.
  • The local interpreter in PyCharm can again be set up via the environment variable.
  • Python 3.11: The IPython console doesn’t break with non-ASCII characters in tracebacks.
  • Debug Console: Output encoding is now correct for Windows.
  • Debug Console no longer changes the output after execution.
  • Windows users whose usernames contain spaces can load a Conda environment in the Terminal.
  • The Rich package works as expected in the Python Console when the Emulate terminal in output console option is used.
  • Quick Documentation works in the Python Console with the Ctrl + j shortcut.
  • Python Console: Parameters info works with Python 3.11.
  • Databases: introspecting database objects or external schemas in Amazon Redshift doesn’t cause an error.

2022.3.1

Updated Dec 28, 2022

Features

  • The option to display editor tabs on multiple rows is now available in the new UI.
  • Code insight has been improved for data class arguments when wildcard or custom module import is involved.

Fixes

  • Actions on Save work as expected again.
  • Excessive CPU usage and IDE freezes that occurred for certain tool window sizes have been fixed.
  • Packaging: PyCharm no longer uses excessive disk space when caching PyPI.
  • Running a script on the Python Debug Server with pydevd-pycharm works as expected again.
  • Quick documentation popup: Markup used in docstrings is now rendered in Quick documentation.
  • HTTP client: Setting a proxy no longer breaks package inspection.
  • Python console: Code that is run with the Emulate terminal in output console option enabled now has the correct indentation level.
  • Inspections: The Loose punctuation mark inspection now works correctly for reStructuredText fields in docstrings.
  • Inspections: Fixed an SOE exception where processing generic types broke error highlighting in the editor.
  • Debugger: Fixed several issues with the debugger.
  • Code insight: Code insight for IntEnum properties is now correct.

2022.3

Updated Dec 1, 2022

Features

  • UX
    • New Settings Sync solution - The new Settings Sync plugin is now available for PyCharm. The new solution is capable of syncing most of the shareable settings from the platform, bundled plugins, and some third-party plugins.
    • A new way to manage Conda packages - Search, install, and delete Conda packages without leaving the Editor window. The Python Packages tool window now works with the Anaconda package library, allowing you to customize your Conda interpreter directly while you are writing code.
    • New PyCharm UI available via settings - Preview the completely reworked look and feel of PyCharm by switching to the new UI.
    • Redesigned Review list for GitHub and Space - Reworked the Review list UI to help reduce cognitive load and provide the most important information about requests at a glance. The look and feel across all supported review platforms has also been unified.
    • Improved tips of the day - Updated the dialog’s design and added tip rating functionality. The algorithm that determines which tips appear has been fine-tuned to make them more relevant to your experience with the IDE and the project you’re working on.
    • Further improvements:
      • Added the option to drag tool windows out of the main window and dock them to floating editor tabs to make interacting with PyCharm on multiple monitors more convenient.
      • Added a few UI improvements to Bookmarks: just right-click on a tab to invoke the context menu and then select Bookmarks to bookmark files from editor tabs. You can also add all files in all open tabs to Bookmarks.
      • Added the ability to read code in your preferred style, without requiring you to reformat the real code. You can apply a new visual formatting layer in Reader mode.
      • Fine-tuned the algorithm behind the Search Everywhere result list. The IDE will freeze the first search results and won’t re-sort them as more options are found. In addition, the ML ranking is now enabled for the Files tab, providing more accurate lookup results.
  • Jupyter Notebooks
    • Enhanced UX for pandas DataFrames:
      • You can now switch between Table, Tree, and Text viewing modes.
      • It’s now possible to transpose DataFrames, hide columns, and use pagination to quickly navigate through the rows.
      • DataFrames can now be exported in a wide variety of formats, including Microsoft Excel, JSON, HTML, XML, Markdown tables, and SQL Insert statements.
    • Data Vision: inline information about Jupyter variables - With Data Vision, you can now inspect Jupyter variables within your notebook. Enabling this feature gives useful inline information about a number of important variable types, such as the size and contents of NumPy arrays and pandas DataFrames.
  • Editor
    • Improvements to docstrings rendering in Quick Documentation - The Quick Documentation popup now helps you quickly see the class attributes, as it now displays the Attributes section of the class docstrings.
    • Intention action preview enabled by default - See instantly how your code will be altered once you apply the IDE’s suggestions. The preview appears when you open the list of available intention actions and hover on one option or another.
    • Python 3.11: Code insight for Self type - PyCharm now recognizes the Self type for the method or attribute annotations, and it suggests the correct type for class instances. PyCharm will warn you if the usage of Self is incorrect in the particular location.
    • Further improvements:
      • Added a new quick-fix to suppress inspections with a comment in YAML files, including Kubernetes files, OpenAPI specifications, and docker-compose.yml.
  • asyncio support for the Python Console
    • The built-in Python Console now supports using the await keyword outside the function to quickly run a coroutine. This release also adds asyncio support for the debugger. While useful for debugging asynchronous code, this feature is experimental and might not be fully stable.
  • Frontend Development
    • Vitest support - PyCharm now supports Vitest, a Vite-native unit test framework.
    • New project templates for Next.js and Vite - The New Project wizard available on PyCharm’s Welcome screen now includes project templates for Vite and Next.js. The Vue template has also been updated so it follows the latest standards.
    • Vue updates:
      • PyCharm can now take care of unresolved imports and will offer suggestions for importing Vue components.
      • Added support for the props destructure syntax.
      • Improved the behavior of code completion and type checking for Vue library component props.
  • Integrated Developer Tools
    • Security
      • Vulnerability checker for packages - PyCharm now detects vulnerabilities in the packages used in your projects by checking the packages against the Checkmarx SCA Database and the National Vulnerability Database.
    • HTTP Client
      • Code style improvements for the HTTP Client - The HTTP Client now provides better formatting options for requests with long URLs. You can also use the Put query parameters on separate lines intention action to break the query into smaller fragments over different lines.
      • Pre-request scripts and new APIs for JavaScript handlers - The HTTP Client now supports script blocks that are executed before requests. You can generate data before request execution and put it in the final request using variables. PyCharm now also provides the сrypto API, making your code capable of computing md5 or sha1 hash values for HTTP requests.
    • Docker
      • Pull Docker image intention action - Added an easy way to pull a required image without running it from a Dockerfile, docker-compose.yml, or even from tests that use Testcontainers.
      • Support for the .dockerignore file type - Added full support for .dockerignore files, including code highlighting and completion. These files are now taken into account when you build an image from the IDE.
      • Support for the heredoc format in Dockerfiles - Here documents allow you to redirect subsequent Dockerfile lines to the input of RUN or COPY commands. PyCharm now supports this syntax, so you can use it to generate config files or multiline scripts right in your Dockerfiles.
      • Docker connections from Docker Contexts - Added the ability to set up additional Docker connections using Docker Contexts.
  • Databases
    • Redis support - Added support for Redis. You can now connect to Redis Single Instance, explore key values in the data viewer, write and execute Redis queries with the help of the smart coding assistance, and more.
    • Formats for date and time data types in the data editor - It’s now possible to customize how fields of the Datetime/timestamp, Time, and Date types will be displayed in the data editor.
    • Quick filter in Database Explorer - Added the ability to filter objects when using quick search in the Database Explorer. All non-matching objects will be hidden.
    • Pattern-based schema filtering - Added the ability to choose databases or schemas for introspection based on regular expression patterns.
  • Installers
    • Installers for Microsoft Windows and Linux ARM64 machines [Beta] - It is now possible to run PyCharm on Windows and Linux machines with ARM64 processors. The IDE installers are in Beta, and they are available from the website or the JetBrains Toolbox App for Windows, and only from the website for Linux.

Fixes

  • Fixed several Nuxt 3 issues.