JetBrains brengt verschillende ontwikkelomgevingen uit, zoals IntelliJ Idea gericht op Java, CLion gericht op C en C++ en DataGrip gericht op sql. PhpStorm is gericht op php en biedt on-the-fly-errorpreventie, autocompletion, coderefactoring en debugging, en kan ook overweg met HTML, CSS, Coffee- en JavaScript. Voor een overzicht van de mogelijkheden verwijzen we naar deze pagina. Voor het gebruik van PhpStorm is wel een licentie nodig. Voor zakelijk en thuisgebruik zul je daarvoor moeten betalen, maar als de software wordt gebruikt voor onderwijs of niet-commerciële opensourceprojecten, is de licentie gratis. JetBrains heeft versie 2024.2 van PhpStorm uitgebracht en de belangrijkste verbeteringen die daarin zijn aangebracht, zien er als volgt uit:
Log files supportLaravel, 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
Editing from a floating toolbar.log
files in the terminal via thecat
,tail
, andhead
commands. Starting with 2024.2, the Ideolog plugin is bundled with the IDE to further improve the logging experience.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 terminalCommand 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 styleSupport 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 optionsChinese, Japanese, and Korean UI language packs are now included in the base IDE installation.
AI AssistantJetBrains 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.
Directly run and debug TypeScript filesYou 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 frameworksPhpStorm 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 defaultIn 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.
The new UI made default for all usersWith 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 dialogWe’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 completionIn 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 EverywhereThe 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 usersPhpStorm 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 LinuxOn 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.