{"id":496168,"date":"2024-08-12T10:38:28","date_gmt":"2024-08-12T09:38:28","guid":{"rendered":"https:\/\/blog.jetbrains.com\/?post_type=phpstorm&#038;p=496168"},"modified":"2024-08-12T14:51:26","modified_gmt":"2024-08-12T13:51:26","slug":"phpstorm-2024-2-is-now-available","status":"publish","type":"phpstorm","link":"https:\/\/blog.jetbrains.com\/fr\/phpstorm\/2024\/08\/phpstorm-2024-2-is-now-available","title":{"rendered":"PhpStorm 2024.2 Is Now Available"},"content":{"rendered":"\n<p>PhpStorm 2024.2 has been released now! Here are the highlights of the most impactful changes introduced in this update.<\/p>\n\n\n\n<p class=\"has-text-align-center\"><a class=\"jb-download-button\" href=\"https:\/\/www.jetbrains.com\/phpstorm\/download\/\" target=\"_blank\" rel=\"noopener\">Download PhpStorm 2024.2<\/a><\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" loading=\"lazy\" width=\"1300\" height=\"650\" src=\"https:\/\/blog.jetbrains.com\/wp-content\/uploads\/2024\/08\/Email-banner-650x325-2x.png\" alt=\"\" class=\"wp-image-499290\"\/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Log files support<\/h2>\n\n\n\n<p>Laravel, Symfony, and WordPress log files can now be viewed directly in the IDE with proper highlighting of dates, times, events (by severity level), and hyperlinks. <\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/resources.jetbrains.com\/storage\/products\/blog\/wp-content\/uploads\/phpstorm\/2024.2\/log-files-support-demo-1.gif\" alt=\"\"\/><\/figure>\n\n\n\n<p>The same functionality is also available when opening <code>.log<\/code> files in the terminal via the <code>cat<\/code>, <code>tail<\/code>, and <code>head<\/code> commands.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/resources.jetbrains.com\/storage\/products\/blog\/wp-content\/uploads\/phpstorm\/2024.2\/log-files-support-demo-2.gif\" alt=\"\"\/><\/figure>\n\n\n\n<p>Starting with 2024.2, the <a href=\"https:\/\/plugins.jetbrains.com\/plugin\/9746-ideolog\/\" target=\"_blank\" rel=\"noopener\">Ideolog plugin<\/a> is bundled with the IDE to further improve the logging experience.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Editing from a floating toolbar<\/h2>\n\n\n\n<p>The new floating toolbar that appears next to a selected code fragment gives you instant access to refactorings, AI-powered features, and other essential actions. You can use the kebab (three vertical dots) menu to customize or hide the toolbar, and you can hide or unhide it from the settings via <em>Settings\/Preferences | Advanced Settings | Editor<\/em>.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/resources.jetbrains.com\/storage\/products\/blog\/wp-content\/uploads\/phpstorm\/2024.2\/Floating-toolbar-refactoring-designed.gif\" alt=\"\"\/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Completion in the new terminal<\/h2>\n\n\n\n<p>Command completion for Laravel, Symfony, WordPress, and Composer is now accessible directly in the new terminal. Additionally, file name completion is now available for PHPStan and Psalm users.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/resources.jetbrains.com\/storage\/products\/blog\/wp-content\/uploads\/phpstorm\/2024.2\/completion-in-the-terminal.gif\" alt=\"\"\/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">PER coding style<\/h2>\n\n\n\n<p>Support for the PER coding style is now available out of the box. To turn it on, go to <em>Settings | Code Style | PHP | Set from\u2026<\/em>.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" loading=\"lazy\" width=\"1280\" height=\"720\" src=\"https:\/\/blog.jetbrains.com\/wp-content\/uploads\/2024\/07\/Per-coding-style.png\" alt=\"\" class=\"wp-image-496214\"\/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Japanese, Korean, and Chinese UI options<\/h2>\n\n\n\n<p>Chinese, Japanese, and Korean UI language packs are now included in the base IDE installation.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" loading=\"lazy\" width=\"1280\" height=\"720\" src=\"https:\/\/blog.jetbrains.com\/wp-content\/uploads\/2024\/07\/language-support.png\" alt=\"\" class=\"wp-image-496203\"\/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">AI Assistant&nbsp;<\/h2>\n\n\n\n<p>JetBrains AI Assistant 2024.2 introduces significant enhancements to cloud code completion, offering more accurate and faster suggestions. The UX has been reworked to better integrate AI code completion features into IDE workflows, with improvements like syntax highlighting in suggested code and incremental acceptance of code suggestions.&nbsp;<\/p>\n\n\n\n<p>New features include AI integration in the <em>Terminal <\/em>tool window for efficient command generation and AI-assisted VCS conflict resolution. Additionally, users can now customize prompts for documentation generation and unit test creation.&nbsp;<\/p>\n\n\n\n<p>Learn about these and other enhancements in the <a href=\"https:\/\/blog.jetbrains.com\/fr\/ai\/2024\/08\/jetbrains-ai-assistant-2024-2\">blog post<\/a>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Frontend<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">Directly run and debug TypeScript files<\/h3>\n\n\n\n<p>You can now run and debug TypeScript files without any additional setup. You can execute them from different entry points, including the file context menu, the <em>Run<\/em> widget, and the <em>Current File<\/em> configuration.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/resources.jetbrains.com\/storage\/products\/blog\/wp-content\/uploads\/phpstorm\/2024.2\/directly-run-ts.gif\" alt=\"\"\/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">Improved support across major web frameworks<\/h3>\n\n\n\n<p>PhpStorm 2024.2 is able to resolve paths for frameworks that use file-system-based routing. It can resolve link paths based on your project&#8217;s file system, providing autocompletion and navigation for Next.js, Nuxt, SvelteKit, and Astro. There is also support for new Svelte 5 snippets and render tags. Additionally, we\u2019ve implemented language server protocol (LSP) support for Astro and Vue Language Service v2, improving code completion and the overall developer experience.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/resources.jetbrains.com\/storage\/products\/blog\/wp-content\/uploads\/phpstorm\/2024.2\/improved-support-across-major-web-frameworks.gif\" alt=\"\"\/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">Prettier integration is enabled by default<\/h3>\n\n\n\n<p>In PhpStorm 2024.2,<strong> Prettier integration is enabled in new projects<\/strong> with a direct prettier dependency in their root package.json and a Prettier configuration file at the same level. This feature simplifies the setup process, ensuring that Prettier integration is enabled out of the box.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" loading=\"lazy\" width=\"2014\" height=\"1586\" src=\"https:\/\/blog.jetbrains.com\/wp-content\/uploads\/2024\/07\/prettier-phpstorm-1.png\" alt=\"\" class=\"wp-image-496192\"\/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">UI<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">The new UI made default for all users<\/h3>\n\n\n\n<p>With PhpStorm 2024.2, the new<a href=\"https:\/\/www.jetbrains.com\/idea\/new-ui\/\" target=\"_blank\" rel=\"noopener\"> UI<\/a> is now the default for all users, leaving the classic one available as a plugin. The new UI is clean and modern, providing bigger, easier-to-use controls, a consistent color palette, light and legible icons, increased contrast, and better accents. As we\u2019ve seen high adoption rates for the new UI and we\u2019ve fixed the main issues based on your feedback, we believe it is ready for everyone. <a href=\"https:\/\/blog.jetbrains.com\/fr\/blog\/2024\/07\/08\/the-new-ui-becomes-the-default-in-2024-2\">Learn more \u2192<\/a><\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" loading=\"lazy\" width=\"3184\" height=\"1754\" src=\"https:\/\/blog.jetbrains.com\/wp-content\/uploads\/2024\/08\/new-ui.png\" alt=\"\" class=\"wp-image-498785\"\/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">Improved <em>Customize Main Toolbar<\/em> dialog<\/h3>\n\n\n\n<p>We\u2019ve redesigned the layout and behavior of the UI elements in the <em>Customize Main Toolbar<\/em> dialog, making it more intuitive and organized. It\u2019s now easier to search for, add, and delete actions in the main toolbar.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" loading=\"lazy\" width=\"1500\" height=\"600\" src=\"https:\/\/blog.jetbrains.com\/wp-content\/uploads\/2024\/07\/Customize-Main-Toolbar.png\" alt=\"\" class=\"wp-image-496181\"\/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">UX<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">Improved full line code completion<\/h3>\n\n\n\n<p>In version 2024.2, we\u2019ve made the process of accepting full line code completion suggestions more intuitive and precise. Inline code completion suggestions now include code highlighting, and new shortcuts allow you to accept individual words or entire lines from longer suggestions. We\u2019ve also refined how accepted changes are integrated into your code, eliminating formatting and related issues.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" loading=\"lazy\" width=\"1500\" height=\"844\" src=\"https:\/\/blog.jetbrains.com\/wp-content\/uploads\/2024\/08\/FLCC-1.png\" alt=\"\" class=\"wp-image-498796\"\/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\"><em>Preview<\/em> option in <em>Search Everywhere<\/em><\/h3>\n\n\n\n<p>The <em>Search Everywhere<\/em> dialog now includes an option to preview the codebase elements you\u2019re searching for. Enabling this feature through the <em>Preview<\/em> icon on the dialog\u2019s toolbar will cause a preview pane to appear under the search results, offering additional context and making it easier to navigate through your project.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" loading=\"lazy\" width=\"2318\" height=\"1452\" src=\"https:\/\/blog.jetbrains.com\/wp-content\/uploads\/2024\/08\/preview.png\" alt=\"\" class=\"wp-image-498807\"\/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">Proxy setting auto-detection enabled by default for new users<\/h3>\n\n\n\n<p>PhpStorm now automatically detects system proxy settings configured on your machine and uses them by default, facilitating seamless interaction with external resources and services.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" loading=\"lazy\" width=\"1500\" height=\"600\" src=\"https:\/\/blog.jetbrains.com\/wp-content\/uploads\/2024\/07\/Proxy-settings.png\" alt=\"\" class=\"wp-image-496170\"\/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">Updated window controls on Linux<\/h3>\n\n\n\n<p>On Linux, PhpStorm previously placed window controls on the right-hand side of the IDE. Now it automatically adjusts their placement to match the window control settings specified in your Linux desktop configuration. This small but important change allows you to maintain a layout that suits your personal preferences. Additionally, we have redesigned the window control buttons to provide a look and feel that more closely matches your OS.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" loading=\"lazy\" width=\"1500\" height=\"600\" src=\"https:\/\/blog.jetbrains.com\/wp-content\/uploads\/2024\/08\/Linux-controls.png\" alt=\"\" class=\"wp-image-498818\"\/><\/figure>\n\n\n\n<p>You can find the full list of changes included in PhpStorm 2024.2 on the<a href=\"https:\/\/youtrack.jetbrains.com\/articles\/WI-A-231736150\/PhpStorm-2024.2-242.20224.361-build-Release-Notes\" target=\"_blank\" rel=\"noopener\"> release notes<\/a> page.<\/p>\n\n\n\n<p class=\"has-text-align-center\"><a class=\"jb-download-button\" href=\"https:\/\/www.jetbrains.com\/phpstorm\/download\/\" target=\"_blank\" rel=\"noopener\">Download PhpStorm 2024.2<\/a><\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<p>That\u2019s all for today. We hope you\u2019ll enjoy the latest enhancement to PhpStorm!<\/p>\n\n\n\n<p>Here are some helpful quick links:<\/p>\n\n\n\n<ul>\n<li><a href=\"https:\/\/www.jetbrains.com\/phpstorm\/download\" target=\"_blank\" rel=\"noopener\">Download PhpStorm<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/twitter.com\/phpstorm\" target=\"_blank\" rel=\"noopener\">Tweet us<\/a><\/li>\n<\/ul>\n\n\n\n<p>Please report any bugs to our<a href=\"https:\/\/youtrack.jetbrains.com\/issues\/WI\" target=\"_blank\" rel=\"noopener\"> issue tracker<\/a>. Your feedback is extremely valuable to us!<\/p>\n","protected":false},"author":1316,"featured_media":499200,"comment_status":"closed","ping_status":"closed","template":"","categories":[907],"tags":[8486,477],"cross-post-tag":[],"acf":[],"_links":{"self":[{"href":"https:\/\/blog.jetbrains.com\/fr\/wp-json\/wp\/v2\/phpstorm\/496168"}],"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\/1316"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.jetbrains.com\/fr\/wp-json\/wp\/v2\/comments?post=496168"}],"version-history":[{"count":9,"href":"https:\/\/blog.jetbrains.com\/fr\/wp-json\/wp\/v2\/phpstorm\/496168\/revisions"}],"predecessor-version":[{"id":501663,"href":"https:\/\/blog.jetbrains.com\/fr\/wp-json\/wp\/v2\/phpstorm\/496168\/revisions\/501663"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/blog.jetbrains.com\/fr\/wp-json\/wp\/v2\/media\/499200"}],"wp:attachment":[{"href":"https:\/\/blog.jetbrains.com\/fr\/wp-json\/wp\/v2\/media?parent=496168"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.jetbrains.com\/fr\/wp-json\/wp\/v2\/categories?post=496168"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.jetbrains.com\/fr\/wp-json\/wp\/v2\/tags?post=496168"},{"taxonomy":"cross-post-tag","embeddable":true,"href":"https:\/\/blog.jetbrains.com\/fr\/wp-json\/wp\/v2\/cross-post-tag?post=496168"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}