PhpStorm 2024.2 Is Now Available
PhpStorm 2024.2 has been released now! Here are the highlights of the most impactful changes introduced in this update.
Log files support
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.
The same functionality is also available when opening .log
files in the terminal via the cat
, tail
, and head
commands.
Starting with 2024.2, the Ideolog plugin is bundled with the IDE to further improve the logging experience.
Editing from a floating toolbar
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 Settings/Preferences | Advanced Settings | Editor.
Completion in the new terminal
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.
PER coding style
Support for the PER coding style is now available out of the box. To turn it on, go to Settings | Code Style | PHP | Set from….
Japanese, Korean, and Chinese UI options
Chinese, Japanese, and Korean UI language packs are now included in the base IDE installation.
AI Assistant
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.
New features include AI integration in the Terminal 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.
Learn about these and other enhancements in the blog post.
Frontend
Directly run and debug TypeScript files
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 Run widget, and the Current File configuration.
Improved support across major web frameworks
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’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’ve implemented language server protocol (LSP) support for Astro and Vue Language Service v2, improving code completion and the overall developer experience.
Prettier integration is enabled by default
In PhpStorm 2024.2, Prettier integration is enabled in new projects 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.
UI
The new UI made default for all users
With PhpStorm 2024.2, the new UI 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’ve seen high adoption rates for the new UI and we’ve fixed the main issues based on your feedback, we believe it is ready for everyone. Learn more →
Improved Customize Main Toolbar dialog
We’ve redesigned the layout and behavior of the UI elements in the Customize Main Toolbar dialog, making it more intuitive and organized. It’s now easier to search for, add, and delete actions in the main toolbar.
UX
Improved full line code completion
In version 2024.2, we’ve 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’ve also refined how accepted changes are integrated into your code, eliminating formatting and related issues.
Preview option in Search Everywhere
The Search Everywhere dialog now includes an option to preview the codebase elements you’re searching for. Enabling this feature through the Preview icon on the dialog’s toolbar will cause a preview pane to appear under the search results, offering additional context and making it easier to navigate through your project.
Proxy setting auto-detection enabled by default for new users
PhpStorm now automatically detects system proxy settings configured on your machine and uses them by default, facilitating seamless interaction with external resources and services.
Updated window controls on Linux
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.
You can find the full list of changes included in PhpStorm 2024.2 on the release notes page.
That’s all for today. We hope you’ll enjoy the latest enhancement to PhpStorm!
Here are some helpful quick links:
Please report any bugs to our issue tracker. Your feedback is extremely valuable to us!