PyCharm 2024.2.1

Released: Aug 29, 2024

2024.2.1 버젼 업데이트

기능

Data View

  • Optional heatmap color schemes
    • Provides two color-scheme options for the table heatmaps in the Data View tool window: the Diverging and Sequential color schemes:
      • The Diverging color scheme emphasizes variation relative to a norm. It consists of two contrasting colors that deviate from a central value in two opposite directions.
      • The Sequential color scheme consists of a single color or a range of closely related colors that vary in intensity.
    • You can apply the heatmap color schemes to the whole table or to each column separately, or you can use coloring only for Boolean values.

Python 3.13

  • Code assistance for TypeIs annotations
    • With the introduction of the TypeIs annotation, you can now narrow the types in both 'if' and 'else' branches of conditionals. PyCharm now understands the TypeIs syntax, and provides proper type inference and code completion for the user-defined narrowed functions.
  • Warnings when assigning a value to a ReadOnly member
    • In Python 3.13 you will be able to use a ReadOnly type qualifier for TypedDict keys to remove the ability to update them. PyCharm now recognizes the ReadOnly type qualifier and throws a warning if you try to assign to a ReadOnly member or if a TypedDict with a read-only item is updated with another TypedDict that declares the key.

Web development

  • Completion for Django ModelAdmin fields
    • PyCharm now provides intelligent code completion, refactoring, and navigation for fields such as list_display, list_filter, and search_fields in ModelAdmin classes.
  • Django Structure: New default grouping
    • PyCharm now defaults to grouping elements in the Django Structure tool window by component, and within components by app, and shows all components within this view. You can change this behavior so elements are first grouped by app and then by component within each app.
  • Find Usages for URLs directly from the editor
    • You can now search for all path usages, including OpenAPI schemas, across your project directly from the gutter or code vision actions.