{"id":366368,"date":"2023-06-26T17:26:19","date_gmt":"2023-06-26T16:26:19","guid":{"rendered":"https:\/\/blog.jetbrains.com\/?post_type=phpstorm&#038;p=366368"},"modified":"2023-06-28T12:03:19","modified_gmt":"2023-06-28T11:03:19","slug":"ai-features-in-phpstorm-phpstorm-2023-2-eap-5","status":"publish","type":"phpstorm","link":"https:\/\/blog.jetbrains.com\/fr\/phpstorm\/2023\/06\/ai-features-in-phpstorm-phpstorm-2023-2-eap-5","title":{"rendered":"AI Features in PhpStorm: PhpStorm 2023.2 EAP #5"},"content":{"rendered":"\n<p>The next EAP build for PhpStorm 2023.2 is now available, and it\u2019s an exciting one! It is the first build to include features leveraging the enormous potential of generative AI and large language models (LLMs).<\/p>\n\n\n\n<p>Our Early Access Program (EAP) allows you to try new features from the upcoming PhpStorm 2023.2 release. EAP builds are free to use, and you can install them side by side with a stable version of PhpStorm. If something doesn\u2019t work correctly, you can quickly switch back to the previous version without interfering with your workflow.<\/p>\n\n\n\n<p align=\"center\"><a class=\"jb-download-button\" href=\"https:\/\/www.jetbrains.com\/phpstorm\/nextversion\" target=\"_blank\" rel=\"noopener\">DOWNLOAD PHPSTORM 2023.2 EAP<\/a><\/p>\n\n\n\n<p>Let\u2019s take a look at how to get started with AI features in PhpStorm!<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<p>PhpStorm 2023.2 EAP 5 includes preview access to our new JetBrains AI service. For now, the service will be available only for a limited number of users. Once the maximum capacity is reached, the remaining users will be added to a waiting list.&nbsp;&nbsp;<\/p>\n\n\n\n<p>To access the AI features, you must be logged in to the JetBrains AI service with your JetBrains Account. The simplest way to do this is to go to the <strong>More tool windows<\/strong> icon on the toolbar, select <strong>AI Assistant<\/strong>, and follow the prompts.&nbsp;<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/resources.jetbrains.com\/storage\/products\/blog\/wp-content\/uploads\/phpstorm\/2023.2\/eap-6-ai-install.gif\" alt=\"\"\/><\/figure>\n\n\n\n<p>Currently, the service supports OpenAI and also hosts several smaller models created by JetBrains. We plan to extend this to more providers in the future, giving you access to the best options and models available.<\/p>\n\n\n\n<p>This EAP is just an early implementation, with a sample of features indicating the direction we\u2019re moving in. It\u2019s very important for us to hear your feedback, including situations where the AI didn\u2019t do what you expected, and suggestions for other areas where the AI could assist you.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">AI chat<\/h3>\n\n\n\n<p>You can use the AI Assistant tool window to communicate with the LLM, ask questions, or iterate a task. PhpStorm will provide project-specific context, such as the PHP language level and the framework used in your project. Once you\u2019re happy with the result, use the <strong>Insert Snippet at Caret<\/strong> function to put the AI-generated code into the editor, or just copy it over.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/resources.jetbrains.com\/storage\/products\/blog\/wp-content\/uploads\/phpstorm\/2023.2\/eap-6-ai-chat.gif\" alt=\"\"\/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">AI Actions<\/h3>\n\n\n\n<p>The <strong>\u2325Enter \/ Alt+Enter <\/strong>context menu now features an <strong>AI Actions<\/strong> option. It features a bunch of tasks the AI Assistant can do for you.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/resources.jetbrains.com\/storage\/products\/blog\/wp-content\/uploads\/phpstorm\/2023.2\/eap-6-ai-actions.gif\" alt=\"\"\/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">Code documentation<\/h3>\n\n\n\n<p>The AI Assistant is able to generate documentation for you. Press <strong>\u2325Enter \/ Alt+Enter<\/strong>, select the <strong>AI Actions<\/strong> menu, and choose <strong>Write Documentation<\/strong>. On top of that, the AI Assistant is also able to explain your code via the chat.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/resources.jetbrains.com\/storage\/products\/blog\/wp-content\/uploads\/phpstorm\/2023.2\/eap-6-ai-docs.gif\" alt=\"\"\/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">Rename suggestions<\/h3>\n\n\n\n<p>When using the rename refactoring, the AI Assistant will provide you with suggestions for other names.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/resources.jetbrains.com\/storage\/products\/blog\/wp-content\/uploads\/phpstorm\/2023.2\/eap-6%20ai-rename.gif\" alt=\"\"\/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">Commit message generation<\/h3>\n\n\n\n<p>The commit message dialog now has a <strong>Commit Message with AI Assistant<\/strong> button. Click it to send the diffs of your changes to the LLM, which will generate a commit message describing your changes.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/resources.jetbrains.com\/storage\/products\/blog\/wp-content\/uploads\/phpstorm\/2023.2\/eap-6-ai-git.gif\" alt=\"\"\/><\/figure>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<p>We\u2019d love for you to try out these new AI features and send us your ideas and suggestions. You can click the <strong>Share your feedback<\/strong> action in the<strong> AI Assistant<\/strong> tool window. You\u2019re also welcome to report AI Assistant bugs in <a href=\"https:\/\/youtrack.jetbrains.com\/issues\/LLM\" target=\"_blank\" rel=\"noopener\">YouTrack<\/a>.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" loading=\"lazy\" width=\"1498\" height=\"354\" src=\"https:\/\/blog.jetbrains.com\/wp-content\/uploads\/2023\/06\/Screenshot-2023-06-26-at-09.58.41.png\" alt=\"\" class=\"wp-image-366436\"\/><\/figure>\n\n\n\n<p><br>For more information about the AI Assistant, how it works, and how we handle your code and data, please see this <a href=\"https:\/\/blog.jetbrains.com\/fr\/idea\/2023\/06\/ai-assistant-in-jetbrains-ides\">blog post<\/a>.\u00a0<\/p>\n\n\n\n<p align=\"center\"><a class=\"jb-download-button\" href=\"https:\/\/www.jetbrains.com\/phpstorm\/nextversion\" target=\"_blank\" rel=\"noopener\">DOWNLOAD PHPSTORM 2023.2 EAP<\/a><\/p>\n\n\n\n<p>The full list of changes is available in the\u00a0<a href=\"https:\/\/youtrack.jetbrains.com\/articles\/WI-A-231736065\/PhpStorm-2023.2-EAP-5-232.8296.18-build-Release-Notes\" target=\"_blank\" rel=\"noopener\">release notes<\/a>.<br>And as always, please feel free to report any issues you encounter to our\u00a0<a href=\"https:\/\/youtrack.jetbrains.com\/issues\/wi\" target=\"_blank\" rel=\"noopener\">tracker<\/a>\u00a0or here in the comments.<\/p>\n","protected":false},"author":1326,"featured_media":367088,"comment_status":"closed","ping_status":"closed","template":"","categories":[826],"tags":[8112,8133,600],"cross-post-tag":[],"acf":[],"_links":{"self":[{"href":"https:\/\/blog.jetbrains.com\/fr\/wp-json\/wp\/v2\/phpstorm\/366368"}],"collection":[{"href":"https:\/\/blog.jetbrains.com\/fr\/wp-json\/wp\/v2\/phpstorm"}],"about":[{"href":"https:\/\/blog.jetbrains.com\/fr\/wp-json\/wp\/v2\/types\/phpstorm"}],"author":[{"embeddable":true,"href":"https:\/\/blog.jetbrains.com\/fr\/wp-json\/wp\/v2\/users\/1326"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.jetbrains.com\/fr\/wp-json\/wp\/v2\/comments?post=366368"}],"version-history":[{"count":9,"href":"https:\/\/blog.jetbrains.com\/fr\/wp-json\/wp\/v2\/phpstorm\/366368\/revisions"}],"predecessor-version":[{"id":367453,"href":"https:\/\/blog.jetbrains.com\/fr\/wp-json\/wp\/v2\/phpstorm\/366368\/revisions\/367453"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/blog.jetbrains.com\/fr\/wp-json\/wp\/v2\/media\/367088"}],"wp:attachment":[{"href":"https:\/\/blog.jetbrains.com\/fr\/wp-json\/wp\/v2\/media?parent=366368"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.jetbrains.com\/fr\/wp-json\/wp\/v2\/categories?post=366368"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.jetbrains.com\/fr\/wp-json\/wp\/v2\/tags?post=366368"},{"taxonomy":"cross-post-tag","embeddable":true,"href":"https:\/\/blog.jetbrains.com\/fr\/wp-json\/wp\/v2\/cross-post-tag?post=366368"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}