PhpStorm 2019.2 EAP build 192.5438.24 is now available!
In this blog post, read about structural search preview in the editor, a browser for the Docker container file system, highlighting for associated loop when the caret is over break/continue operators, and autocompletion for callable types. All of these goodies are available for you to try in this EAP build.
The latest updates from Web, DB, and the IntelliJ Platform are incorporated too, as usual.
Download PhpStorm 2019.2 EAP from the EAP page or via the JetBrains Toolbox App. Or, if you have the previous PhpStorm 2019.2 EAP build installed, you should soon get a notification in your IDE about a patch update.
Structural Search Preview
Structural Search is a powerful feature that allows you to search for a specific code pattern in your project. It’s a lot more than just text search, as it is capable of operating with type information. Structural Search can be especially useful when you are searching through a large project, as a simple search may find too many occurrences. Go to menu Edit → Find → Search Structurally… to try it.
The problem with structural search is that it can be tricky to create a good search pattern. The upcoming PhpStorm 2019.2 will come with a welcome change – now the IDE will instantly highlight the found occurrences of your structural search in the editor. You don’t have to run a modified pattern again and again anymore as you experiment with your search pattern.
Now the IDE will display the values of the filters right in the editor area of the Structural Search dialog. (Previously, the filters were shown in the tooltips, so you had to hover over the variable to see it, and it was only possible to view one filter value at a time.)