PyCharm 2022.1.x

Released: Apr 13, 2022

Aggiornamenti in 2022.1.x

2022.1.4

Updated Jul 21, 2022

Fixes

  • Fixed the issue causing text flickers in the Commit details pane.
  • Fixed the issue with local module recognition in the Terraform plugin.
  • Fixed the Run Git hooks checkbox in the Before Commit section of the Commit tool window.
  • Changing the .iml file no longer removes associated Git mapping.
  • Fixed the issue causing the external diff tools for directories to malfunction.
  • Fixed the bug causing IDE to crash on macOS High Sierra.
  • Fixed the issue causing the IDE to freeze on startup.

2022.1.3

Updated Jun 22, 2022

Fixes

  • Fixed a regression with the debug console that was truncating outputs.
  • Fixed a regression causing .pth files to be ignored inside venv site-packages.
  • Cmd+Click / Ctrl+Click in the Git Log panel has been fixed and now works as expected.
  • The New Project button on the Welcome screen is once again working as intended.
  • Fixed the issue causing a misleading error message when using $var in the calc() function in SCSS files.
  • Fixed the issue causing an Unexpected term error when using a variable in a min() and max() arguments list.

2022.1.2

Updated Jun 1, 2022

Features

  • Improved type evaluation in Angular templates.

Fixes

  • Autoformatting (auto-indentation) for chained methods now works correctly.
  • The Documentation tool window now works properly.
  • Diff view is now available by double-clicking on the Commit tool window.

2022.1.1

Updated May 12, 2022

Features

  • Now fully supports parenthesized context manager syntax in Python 3.9.

Fixes

  • Using the declarative API in SQLAlchemy versions 1.4 and higher no longer causes Unexpected argument warnings when instantiating ORM models.
  • PyCharm now recognizes when your 1-liner is a Python stub, and does not add a new line after a colon in the event that it is.
  • The Change signature refactoring now works correctly for functions that use *kwargs as arguments.

2022.1

Updated Apr 13, 2022

Features

  • IDE
    • Authentication support for custom package repositories - Configure basic HTTP authentication to access custom package repositories and easily manage dependencies via PyCharm without switching to the terminal for manual installation.
    • New Notifications tool window - The new Notifications tool window has replaced the old Event Log tool window. As a result, helpful suggestions and relevant notifications are organized in a simpler way to ensure that you don’t miss anything important.
    • Support for custom type renderers - Make your debugging session quicker and easier, especially when working with large or multi-attribute objects, by customizing the display format for various objects.
    • Further improvements:
      • Reformat your code while in LightEdit mode.
      • PyCharm can now install Python 3 on Apple macOS when no Python 3 executable is found.
  • Jupyter Support
    • Code cells remain in Edit mode after execution - When you use Run Cell and Insert Below, the just-added cell will now default to Edit mode so you can start writing code right away. The same is true when you edit and run your current cell: it will remain in Edit mode after being executed.
    • Optimized cell copy-pasting - Previously, when you copied and pasted a cell while in Command mode, only the cell itself was pasted to the new position, not its output. This behavior has changed in this release.
    • Further improvements:
      • Supports Jupyter runtime code completion.
  • Editor
    • Enhanced code completion for TypedDict - PyCharm makes it easy to use dict literals as arguments for functions or to instantiate objects from classes where TypedDict is expected by providing code completion for the available keys.
    • Improved TypedDict per-key warnings - When a dictionary created as a literal or by using the dict constructor is used where TypedDict is expected, PyCharm now shows per-key error messages pointing to individual values that are wrong, missing, or not expected.
    • Run commands from Markdown files - When working with Markdown files that contain instructions with commands to execute (README files, for example), you can now run those commands directly from the file using the run icons in the gutter.
    • Copy code snippet for Markdown - With the new Copy code snippet in Markdown blocks, you can now effortlessly copy contents to the clipboard with a single click.
    • Further improvements:
      • Select headers, create lists, and more with the updated Markdown editor floating toolbar.
      • The Join Lines action now also covers nested if statements.
  • Remote Support
    • Added new Services UI for Docker - Docker’s UI has been reworked in the Services tool window to give you much clearer control of your containers, images, networks, and volumes.
    • Docker Registry V2 support - Added support for Docker Registry HTTP API V2 to use with Docker 1.6+. You can create simple or password-protected Docker V2 registries and perform all of the usual actions like viewing, pushing, and pulling images.
    • Custom path to kubectl - You can now manually configure a path to kubectl if it is not in the standard location.
    • Further improvements:
      • Kubernetes: Port forwarding functionality for pods is now available.
      • Kubernetes: There is a new Describe Resource action for all resources in the Services view.
      • Kubernetes: Modifying resources loaded from the cluster can now be done from the editor tab.
  • Frontend and Databases
    • Better Next.js support - Thanks to the built-in support for React, all of the key features should have already been working in your Next.js projects. This release adds support for some framework-specific things, such as pages. PyCharm will now resolve paths used in the href property of your Link components as well as in form and other tags. Code completion, navigation, and refactorings will now work as well.
    • Added support for Volta - PyCharm now has proper integration with Volta, a JavaScript tool manager, and will automatically recognize Yarn and npm installed using Volta.
    • MongoDB: Editing fields in results - You can now edit the results in MongoDB collections just as easily as in relational databases, as well as edit result sets obtained via .find(). This works even when cursor methods that modify the result, such as sort() or limit(), are executed after .find().