Early Access Program

PhpStorm 2018.1. EAP 181.3741.23

The new PhpStorm 2018.1 EAP build (181.3741.23) is now available! You can download it here or via JetBrains Toolbox App. Or, if you have the previous PhpStorm 2018.1 EAP build (181.3494.16) installed, you should soon get a notification in the IDE about a patch update.

This build delivers new features, bug fixes, and improvements for PHP and the Web, and includes the latest improvements in IntelliJ Platform.

Inline function/method refactoring

Sometimes a method’s body is more obvious than the method itself. The good solution for the situation is to replace the calls to the method with the actual method’s content. Since this may be tricky in some cases, we’ve implemented the Inline refactoring to help you with it.

Just put the caret on the function or static method call and invoke Refactor|Inline. If the refactoring is possible, PhpStorm will perform all the necessary transformations: create all intermediate variables, change self to the class name, and even handle multiple return points.

inline_refactoring

For now, PhpStorm will not allow you to inline non-static methods. As a workaround, you can use two refactorings, Make method static and Inline, in sequence. In the future, we plan to support the inlining of non-static methods, too.

Indication of the PHP Language Level sync status with composer.json

In the previous release, we’ve introduced settings synchronization with composer.json as an easy way to keep your PhpStorm settings in sync with your project. Unfortunately, this has also brought some confusion: when you change the PHP Language Level in the settings, it may still get reset after restarting PhpStorm due to the require section in composer.json.

To avoid this, we’ve redesigned the settings page to give you a better clue of what is going on.

language_level

New quick fixes: Replace foreach with array_filter and back

The quick fix that allows replacing foreach with array_map and vice-versa was warmly welcomed, so we’ve decided to continue development in this area. This time, we introduce the foreach to array_filter and the reverse – array_filter to foreach quick fixes.

array_filter

Other features worth noting

  • Updater should automatically download patch in background IDEA-46819 
  • Add support for markdown in jsdoc WEB-11052 

Apart from new features, this build brings many important bug fixes and usability improvements, including these:

  • Fixed: Support different names for tsconfig.json WEB-28091 

See the full list of bug-fixes and improvements in our issue tracker and the complete release notes.

Future plans

Use the board here to view the up-to-date list of the features planned for 2018.1 release, as well as discovered bugs. The list only reflects our current plan and is not final. It may be revised during development since new issues may appear and existing may be re-planned to appear in later versions. Please share your opinions on what is important to you and what would you like to see in the new version!


 

Download PhpStorm 2018.1 EAP 181.3741.23 for your platform from the project EAP page or click “Update” in your JetBrains Toolbox App. And please do report any bugs and feature request to our Issue Tracker.

Your JetBrains PhpStorm Team
The Drive to Develop

image description