PyCharm 2022.3

Integriert eine neue Einstellungssynchronisierungslösung und verbessert die Conda-Paketverwaltung.
Dezember 2, 2022
Neue Version

Funktionen

  • 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.
New Settings Sync solution

PyCharm

Python-IDE mit Unterstützung für Django.

PyCharm ist auch verfügbar in:

Sie haben eine Frage?

Live-Chat mit unseren JetBrains-Lizenzierungs-Spezialisten.