PyCharm 2024.2.2
Released: Sep 19, 2024
2024.2.2 中的更新
特性
- Django enhancements
- New code completion suggestions - When working with models, PyCharm now offers field completion suggestions in a variety of cases.
- Quick-fix to create a method for an unresolved ViewSet - If a ViewSet has an unresolved reference, PyCharm suggests a quick-fix to introduce the missing method. Use Alt + Enter to call it.
- Data View
- You can now look at n-dimensional NumPy arrays in the Data View tool window. Define the array you would like to inspect, along with a specific dimension or slice, in a special field at the bottom of the tool window, and PyCharm will display a table with the results.
- Python support improvements
- Support for default types for type parameters - Improve typing with PyCharm's support for the Python 3.13 ability to define the default types for type parameters. The IDE now incorporates default types for type parameters both for old-style and new-style generic classes, functions, and type aliases, and it takes them into account in type inference.
- Pattern matching: Foldable match statements - To improve the readability of code with large pattern-matching statements, you can now use folding for entire match statements or for separate cases inside them.