PyCharm 2022.1 EAP 2 is now available! This version enhances TypedDict's code insight capabilities, the ability to manage custom repository Python packages under basic Http authorization, and some new improvements to Vue, which are dedicated to making the user's programming experience better.
It can currently be downloaded from the Toolbox App or directly from the JetBrains official website.
However, the EAP version is not fully tested and may have instability issues.
Let's take a look at the specific changes in this version.
Python installation on macOS
PyCharm can now install Python 3 for users, usually macOS comes with Python 2.x version, if the user's device does not have Python 3, PyCharm can automatically install Python 3 when configuring the system interpreter or virtual environment.
For details, see:
https://www.jetbrains.com/help/pycharm/2022.1/creating-empty-project.html
Code Insights: Improve TypedDict key warning
When a dictionary created as a literal or a dictionary structure related function is used where a TypedDict is required (assignment, function/method call, return statement), PyCharm displays error messages for each key explaining exactly which values are problematic and what they are where appears. PyCharm now warns about which specific dictionary elements are currently missing, and which elements are not defined for dictionaries.
UI/
Custom Python package repository
Users are able to add custom package repositories with basic HTTP authorization and easily manage dependencies through PyCharm without switching to the terminal for manual installation.
The new repository will appear in the package list in the left window.
New notification tool window
A new notification tool window replaces the event log instance.
By default, the new tool window is located at the bottom left of the editor. All notifications that appear can be divided into two categories: recommendations and timetables.
Code reformatting in LightEdit mode
This release enhances LightEdit mode, which allows users to edit files without creating or loading an entire project, and adds a new feature.
For details, see
https://www.jetbrains.com/help/pycharm/lightedit-mode.html
Vue support improvements
PyCharm 2022.1 brings several improvements to Vue 3: if you define components as global components, the IDE will recognize them in the .vue file, in addition PyCharm 2022.1 EAP 2 correctly supports createApp syntax and will correctly match apps created with createApp related elements program.
Notably this release also supports Nuxt 3, a new version of the popular Vue framework.
Markdown formatting improvements
Run command from Markdown file
README files are generally used to describe the operation steps of a software and list a series of commands to be used. PyCharm 2022.1 will allow running commands directly from such Markdown files - just click the run icon in the gutter to the left of the command.
New options can be managed via Detect commands, which can be run directly from Markdown files in Preferences / Settings |
Copy Markdown code snippet
The new version adds a new Copy Code Snippet action to Markdown blocks to quickly copy Markdown code to the clipboard.
Risk Control System
update note with Git Blame
This release improves the ability to annotate with Git Blame, making it easier to investigate changes introduced. When hovering over a comment, the IDE highlights different lines in the editor, and when clicking on the comment, the IDE opens the Git Log tool window.
Git file history: new UI without index
The new UI for the Git File History tool window is now independent of the indexing process, and data is represented in the new interface even when Log indexing is turned off. Previously, for files with unindexed history, the IDE would display an old history view that was relatively slow and lacked functionality.
For details of other changes in the PyCharm 2022.1 EAP 2 version, see:
https://blog.jetbrains.com/pycharm/2022/02/2022-1-eap-2/
**粗体** _斜体_ [链接](http://example.com) `代码` - 列表 > 引用
。你还可以使用@
来通知其他用户。