{"id":248316,"date":"2022-05-23T13:39:59","date_gmt":"2022-05-23T12:39:59","guid":{"rendered":"https:\/\/blog.jetbrains.com\/?post_type=pycharm&#038;p=248316"},"modified":"2024-01-15T17:31:38","modified_gmt":"2024-01-15T16:31:38","slug":"pycharm-2022-2-eap-is-open","status":"publish","type":"pycharm","link":"https:\/\/blog.jetbrains.com\/zh-hans\/pycharm\/2022\/05\/pycharm-2022-2-eap-is-open","title":{"rendered":"PyCharm 2022.2 EAP is open!"},"content":{"rendered":"\n<p>We\u2019re announcing the next Early Access Program and we invite you to take part in testing and validating new features that are expected to be included in the PyCharm 2022.2 release. The first PyCharm 2022.2 EAP build brings a number of useful improvements to various parts of the product along with moving the IDE to JBR 17, which will boost IDE performance.<\/p>\n\n\n\n<p>You can download the EAP build from our <a href=\"https:\/\/www.jetbrains.com\/pycharm\/nextversion\/\" target=\"_blank\" rel=\"noreferrer noopener\">website<\/a> get it from the free <a aria-label=\" (opens in a new tab)\" class=\"ek-link\" href=\"https:\/\/www.jetbrains.com\/toolbox\/app\/\" target=\"_blank\" rel=\"noreferrer noopener\">Toolbox App<\/a>, or use snaps if you are using Ubuntu.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" loading=\"lazy\" width=\"1280\" height=\"600\" src=\"https:\/\/blog.jetbrains.com\/wp-content\/uploads\/2022\/05\/Blog_Featured_image_1280x600_PyCharm.png\" alt=\"\" class=\"wp-image-248361\"\/><\/figure>\n\n\n\n<p class=\"has-text-align-center\"><strong>Important: EAP builds are not fully tested and might be unstable.<\/strong><\/p>\n\n\n\n<p align=\"center\">\n    <a class=\"jb-download-button\" href=\"https:\/\/www.jetbrains.com\/pycharm\/nextversion\/\" target=\"_blank\" rel=\"noopener\">      \n        Download PyCharm EAP\n    <\/a>\n<\/p>\n\n\n\n<p>Let\u2019s take a closer look at the updates included in this first EAP build.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">WSL<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">Improved WSL support<\/h3>\n\n\n\n<p>Back in 2021.1 we added the ability to work with projects stored on the WSL file system without having to copy them to your Windows file system. That same version gave PyCharm the ability to detect the WSL interpreter and configured the PyCharm Terminal to run on WSL. (You can read more about what was originally added in <a href=\"https:\/\/blog.jetbrains.com\/pycharm\/2021\/03\/pycharm-2021-1-eap-4\/\" target=\"_blank\" rel=\"noreferrer noopener\">this blog post<\/a>.)<\/p>\n\n\n\n<p>Now with PyCharm 2022.2, we will be introducing significant improvements for working with WSL. In particular, generating and updating skeletons for WSL 2 interpreters will be faster, which obviously will make working with WSL faster in general.<\/p>\n\n\n\n<p>Moreover, you will be able to set up virtual environments and run Jupyter notebooks on WSL from PyCharm. Stay tuned for more updates about the improved WSL support throughout this EAP.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Python 3.11<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">Support for PEP 654: Exception groups<\/h3>\n\n\n\n<p>With the official release of Python 3.11 approaching, we are starting to implement support for its new features. In this EAP we are adding code insight for the new exception groups and except* operator from PEP 654.&nbsp;<\/p>\n\n\n\n<p>From now on, PyCharm will warn you about forbidden combinations, like except and except* operators in the same try statement, or continue, break, and return operators inside except* clauses. It will also warn you if you try to catch an ExceptionGroup in a try* clause. We encourage you to give this functionality a try if you are already working with Python 3.11.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">User interface<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\"><em>Merge All Project Windows<\/em> action on macOS&nbsp;<\/h3>\n\n\n\n<p>For macOS users, we\u2019ve introduced the ability to merge all open project windows into one, turning them into tabs. This action is available from the <em>Window<\/em> menu.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" loading=\"lazy\" width=\"1591\" height=\"631\" src=\"https:\/\/blog.jetbrains.com\/wp-content\/uploads\/2022\/05\/Screen-Shot-2022-05-23-at-13.04.58.png\" alt=\"\" class=\"wp-image-248381\"\/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">New <em>Description <\/em>field for mnemonic bookmarks<\/h3>\n\n\n\n<p>We\u2019ve integrated a <em>Description<\/em> field into the <em>Add Mnemonic Bookmark<\/em> dialog so that you can add optional descriptions to your bookmarks right when you create them.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" loading=\"lazy\" width=\"1591\" height=\"633\" src=\"https:\/\/blog.jetbrains.com\/wp-content\/uploads\/2022\/05\/Screen-Shot-2022-05-23-at-13.05.09.png\" alt=\"\" class=\"wp-image-248392\"\/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">Font size indicator on zoom<\/h3>\n\n\n\n<p>When you zoom in on or out from your code within the editor, you will now see an indicator that shows the current font size and an option to revert it back to the default. You can zoom in on and out from the editor by holding<em> \u2318<\/em> \/ <em>Ctrl<\/em> and using the mouse wheel. To adjust this shortcut, go to <em>Preferences \/ Settings<\/em> | <em>Editor <\/em>| <em>General<\/em> and in the <em>Mouse Control<\/em> section select Change font size with <em>\u2318<\/em> \/<em> Ctrl + Mouse Wheel in<\/em>.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" loading=\"lazy\" width=\"1588\" height=\"630\" src=\"https:\/\/blog.jetbrains.com\/wp-content\/uploads\/2022\/05\/Screen-Shot-2022-05-23-at-13.05.20.png\" alt=\"\" class=\"wp-image-248403\"\/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Notable bug fixes:<\/h2>\n\n\n\n<ul><li>Autoformatting (auto-indentation) for chained methods now works correctly: [<a href=\"https:\/\/youtrack.jetbrains.com\/issue\/PY-28496\/Auto-indent-lines-feature-wrongly-indents-multiline-chained-meth\" target=\"_blank\" rel=\"noreferrer noopener\">PY-28496<\/a>], [<a href=\"https:\/\/youtrack.jetbrains.com\/issue\/PY-27660\/Formatter-for-chained-method-calls-inside-square-brackets-violat\" target=\"_blank\" rel=\"noreferrer noopener\">PY-27660<\/a>].<\/li><\/ul>\n\n\n\n<p>Those are the main updates for week one. For more details, check out the release notes. Please give the new features a try and provide us with your feedback in the comment section below, on <a href=\"https:\/\/twitter.com\/pycharm\" target=\"_blank\" rel=\"noreferrer noopener\">Twitter<\/a>, or using our <a href=\"https:\/\/youtrack.jetbrains.com\/issues\/PY\" target=\"_blank\" rel=\"noreferrer noopener\">issue tracker<\/a>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"ready-to-join-the-eap\">Ready to join the EAP?<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"ground-rules\">Ground rules<\/h3>\n\n\n\n<ul><li>EAP builds are free to use and require a valid <a aria-label=\"JetBrains account (opens in a new tab)\" href=\"https:\/\/account.jetbrains.com\/login\" target=\"_blank\" rel=\"noreferrer noopener\" class=\"ek-link\">JetBrains account<\/a>.<\/li><li>EAP builds expire 30 days after the build date.<\/li><li>You can install an EAP build side by side with your stable PyCharm version.<\/li><li>These builds are not fully tested and can be unstable.<\/li><li>Your feedback is always welcome. Please use our <a href=\"https:\/\/youtrack.jetbrains.com\/issues\/PY\" target=\"_blank\" rel=\"noreferrer noopener\" class=\"ek-link\">issue tracker<\/a> to report any bugs or inconsistencies.<\/li><\/ul>\n","protected":false},"author":1101,"featured_media":248361,"comment_status":"closed","ping_status":"closed","template":"","categories":[826,89,907],"tags":[600,7032,91],"cross-post-tag":[],"acf":[],"_links":{"self":[{"href":"https:\/\/blog.jetbrains.com\/zh-hans\/wp-json\/wp\/v2\/pycharm\/248316"}],"collection":[{"href":"https:\/\/blog.jetbrains.com\/zh-hans\/wp-json\/wp\/v2\/pycharm"}],"about":[{"href":"https:\/\/blog.jetbrains.com\/zh-hans\/wp-json\/wp\/v2\/types\/pycharm"}],"author":[{"embeddable":true,"href":"https:\/\/blog.jetbrains.com\/zh-hans\/wp-json\/wp\/v2\/users\/1101"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.jetbrains.com\/zh-hans\/wp-json\/wp\/v2\/comments?post=248316"}],"version-history":[{"count":10,"href":"https:\/\/blog.jetbrains.com\/zh-hans\/wp-json\/wp\/v2\/pycharm\/248316\/revisions"}],"predecessor-version":[{"id":258253,"href":"https:\/\/blog.jetbrains.com\/zh-hans\/wp-json\/wp\/v2\/pycharm\/248316\/revisions\/258253"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/blog.jetbrains.com\/zh-hans\/wp-json\/wp\/v2\/media\/248361"}],"wp:attachment":[{"href":"https:\/\/blog.jetbrains.com\/zh-hans\/wp-json\/wp\/v2\/media?parent=248316"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.jetbrains.com\/zh-hans\/wp-json\/wp\/v2\/categories?post=248316"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.jetbrains.com\/zh-hans\/wp-json\/wp\/v2\/tags?post=248316"},{"taxonomy":"cross-post-tag","embeddable":true,"href":"https:\/\/blog.jetbrains.com\/zh-hans\/wp-json\/wp\/v2\/cross-post-tag?post=248316"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}