当前位置:网站首页>Pycharm 2022.1 EAP 2 release

Pycharm 2022.1 EAP 2 release

2022-06-25 22:02:00 six one

PyCharm 2022.1 EAP 2 Now available ! This version enhances TypedDict Code insight function 、 In basic Http Manage custom repositories under authorization Python Package capabilities and Vue Some new improvements have been made , Committed to making the user's programming experience better .

At present, it can be downloaded from Toolbox App Or directly from JetBrains Download from the official website .

but EAP The version has not been fully tested , There may be problems of instability .

Let's take a look at the specific changes in this version .

macOS Upper Python install

PyCharm Now you can install... For users Python 3, Usually macOS Bring their own Python 2.x edition , If the user's device does not Python 3,PyCharm It can be installed automatically when configuring the system interpreter or virtual environment Python 3 .

For details, see :
https://www.jetbrains.com/hel...esixw_gaMTI0MTk0Mzc2MC4xNjQ1MTUwMDI5_ga_0WQ2ZF5VGT*MTY0NTE1MDE0MC4xLjEuMTY0NTE1MzcyMS4w

Code insight : improvement TypedDict Key warning

When in need TypedDict The place of ( assignment 、 function / Method call 、 Return statement ) Use... Created as a literal   dictionary  Or dictionary structure related functions ,PyCharm An error message for each key will be displayed , Explain exactly which values are problematic and where they appear .PyCharm It will now warn which specific dictionary elements are currently missing , And which elements are not defined for the dictionary .


The user interface / User experience

Customize Python Package Repository

Users can add with basic HTTP Authorized custom package Repository , And pass PyCharm Easily manage dependencies , There is no need to switch to the terminal for manual installation .

The new repository will appear in the package list in the left window .

New notification tool window

The 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 notices that appear can be divided into two categories : Recommendations and schedule .

LightEdit Code reformatting in mode

This version enhances LightEdit Pattern , This feature allows users to edit files without creating or loading the entire project , And added a new function .

For details, see
https://www.jetbrains.com/hel...a8r5zl_gaMTI0MTk0Mzc2MC4xNjQ1MTUwMDI5_ga_0WQ2ZF5VGT*MTY0NTE1MDE0MC4xLjEuMTY0NTE1MjIwMy4w

Vue Supported improvements

PyCharm 2022.1 Yes Vue 3 Several improvements have been made : If you define a component as a global component ,IDE Will be in .vue Identify them in the file , Besides PyCharm 2022.1 EAP 2 Support correctly createApp grammar , Will correctly match the use of createApp Applications created by related elements .

It is worth noting that this version also supports Nuxt 3, This is a popular Vue A new version of the framework .

Markdown Format improvement

from Markdown File run command

README Files are generally used to describe the running steps of a software , List a list of commands to use .PyCharm 2022.1  Will allow direct access from such Markdown File run command —— Just click... In the left margin of the command   function   Icon .

New options are available through  Detect Command to manage , These commands can be directly from Preferences / Settings |  Medium Markdown File run .

Copy Markdown Code snippet of

New edition to Markdown Block adds a new copy code fragment   operation , It can be copied quickly Markdown To the clipboard .

Risk control system

Use Git Blame Update comments

This version improves the use of  Git Blame  The function of annotation , Make the changes introduced by the survey easier . When you hover over a comment ,IDE Will be highlighted in different lines of the editor , When you click comment IDE Will open Git Log Tool window .

Git File history : New without index UI

Git Document history   Tool window new UI Now independent of the indexing process , Even if Log Index off , The data will also be represented by a new interface . before , For files with unindexed history ,IDE An old history view that is relatively slow and lacks functionality is displayed .

PyCharm 2022.1 EAP 2 For details of other version changes, please see :
https://blog.jetbrains.com/py...

原网站

版权声明
本文为[six one]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/02/202202181138474280.html