PhpStorm 2018.2 EAP 182.3341.34

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

“Add method” quick fix now inserts parameter type hints

When a method is complex, part of the functionality it implements may be handled by a call to a different method that doesn’t exist yet. To generate the skeleton of such a method at any point, you can simply type the full method call and invoke the “Add method” quick fix. If you have PHP Language Level set to 7 or above, PhpStorm 2018.2 will additionally provide you with parameter type hints for the method’s parameters, which will make your code more reliable.

add_method

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

  • Fixes for SQL Injections: WI-42485WI-42419WI-42486WI-42586WI-42587WI-42588
  • Add option to wrap words in docker logs IDEA-175476
  • Unregistered Git roots are not auto-detected if they are more than 2 folder levels deep than any project module IDEA-108316
  • Support TypeScript 3.0 named type arguments WEB-33222
  • Support TS 3.0 ‘unknown’ type WEB-33221
  • Add references to TS 3.0 named generic arguments (so that they can be renamed/navigated) WEB-33326
  • Flow/TSX/React: provide the possibility to navigate via namespaced React tags WEB-18381

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.2 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.2 EAP 182.3341.34 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

Posted in Early Access Program | 2 Comments

PhpStorm 2018.1.6 is released

PhpStorm 2018.1.6 build 181.5281.35 is now available! You can download it here or in JetBrains Toolbox App. If you have installed the previous PhpStorm 2018.1.5, please invoke the Check for updates action to receive the latest update.

This build fixes the issue with the Register action: IDEA-193747

Download PhpStorm 2018.1.6 build 181.5281.35 for your platform or click “Update” in your JetBrains Toolbox App and please do report any bugs and feature request to our Issue Tracker.

JetBrains PhpStorm Team
The Drive to Develop

Posted in Early Access Program, Newsletter, Release Announcements | Tagged | 14 Comments

PhpStorm 2018.2 EAP 182.3208.33

The new PhpStorm 2018.2 EAP build (182.3208.33) is now available! You can download it here or via JetBrains Toolbox App. Or, if you have the previous PhpStorm 2018.2 EAP build (182.2949.27) 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.

Improved SQL injections: support for dynamic field and table names, constant substitutions, sprintf support

In version 8, PhpStorm introduced basic support for string concatenations in Language Injections. Due to the dynamic nature of the resulting strings and the strictness of SQL parser, this caused a lot false positive errors in SQL.

In PhpStorm 2018.2 EAP, we’ve eliminated the largest part of such errors and also introduced some new features: PhpStorm can now substitute the values of constants directly within the injected string, so you can run a query without copy-pasting their values. Besides, we’ve added the support for SQL strings that use the sprintf parameters.

sql_injections

HTTP Client: Support formatting of POST request body

PhpStorm 2018.2 helps you keep your HTTP requests tidy by providing POST request bodies formatting depending on the Content-Type. To use it, simply invoke the Code|Reformat code action.

Please be aware that formatting HTTP requests with variables in the request body is currently not supported – WI-42463. To format such a request, invoke Alt+Enter, choose Edit JSON/XML fragment and invoke the Reformat action in the opened tab.

post_body_formatting

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

  • Find usages: Find usages doesn’t work on multiresolved references for class members WI-5467
  • New delete GIT tag action IDEA-147018
  • Application-level File Watchers WEB-12478

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.2 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.2 EAP 182.3208.33 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

Posted in Early Access Program | 12 Comments

PhpStorm 2018.1.5 is released

PhpStorm 2018.1.5 build 181.5281.19 is now available! You can download it here or in JetBrains Toolbox App. If you have installed the previous PhpStorm 2018.1.4, please invoke the Check for updates action to receive the latest update.

This build delivers bug fixes and improvements for PHP and the Web and takes on the latest improvements in IntelliJ Platform.

Notable bug fixes and features worth mentioning:

  • PhpStorm CPU usage while doing nothing when Listen For Debug connection is enabled WI-42218
  • Command Line Tools Console – Cursor Not In Run Box WI-39796
  • IDEA loses focus after using/canceling navigation popups/menus IDEA-191839
  • Navigate > Class is broken in 2018.1.4 EAP IDEA-191860
  • Throwable: unable to get stub builder IDEA-181227

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

Download PhpStorm 2018.1.5 build 181.5281.19 for your platform or click “Update” in your JetBrains Toolbox App and please do report any bugs and feature request to our Issue Tracker.

JetBrains PhpStorm Team
The Drive to Develop

Posted in Release Announcements | Tagged | 7 Comments

PhpStorm 2018.2 EAP build 182.2949.27

The new PhpStorm 2018.2 EAP build (182.2949.27) is now available! You can download it here or via JetBrains Toolbox App. Or, if you have the previous PhpStorm 2018.2 EAP build (182.2757.22) 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.

Custom postfix completion templates

Postfix code completion has existed in PhpStorm since version 9, but has only provided a limited number of predefined templates. PhpStorm 2018.2 brings the postfix completion to the next level by allowing you to create a custom postfix completion templates. This will help you to create templates in line with your project and your coding style.

To add a new postfix template, open Preferences | Editor | General | Postfix Completion, press “+” , select PHP, and compose your template. You can use the $EXPR$ variable, which will capture the expression before . (dot), and the $END$ variable, which will define the position of the caret. If you need to apply the template to the whole expression and don’t want to select the scope for it, simply enable the “Apply to the topmost expression” option.

custom_postfix

HTTP Client: Support environment variables in the request body

We continue improving HTTP client, and in this build, we’ve added the support for environment variables in the request body. You can use environment variables directly inside the HTTP files or in the files that you’ve included as the request body. We’ve also made sure that there are no misleading syntax errors by passing the actual values of variables into the corresponding parsers.

vars_in_body

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

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.2 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.2 EAP 182.2949.27 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

Posted in Early Access Program | 2 Comments

PhpStorm 2018.2 EAP 182.2757.22

The new PhpStorm 2018.2 EAP build (182.2757.22) is now available! You can download it here or via JetBrains Toolbox App. Or, if you have the previous PhpStorm 2018.2 EAP build (182.2574.13) 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.

HTTP Client: decodes Unicode entities and character escapes in JSON replies

PhpStorm 2018.2. introduces the long-awaited feature in the HTTP client: support for Unicode symbols and character escape sequences in the HTTP response body. Now you can inspect your responses in a natural manner, without looking into the characters table to find out what these magical letters actually translate to.

rest_encoding

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

  • HTTP Client: Allow Request Body for DELETE/GET/OPTIONS request WI-40365 
  • Command Line Tools Console – Cursor Not In Run Box WI-39796 
  • Structure tool window steals focus (regression) IDEA-191613 
  • Git: Checkout tag or revision: provide a list of available tags in combobox IDEA-74492 

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.2 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.2 EAP 182.2757.22 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

Posted in Early Access Program | Leave a comment

PhpStorm 2018.2 EAP 182.2574.13

The new PhpStorm 2018.2 EAP build (182.2574.13) is now available! You can download it here or via JetBrains Toolbox App. Or, if you have the previous PhpStorm 2018.2 EAP build (182.2371.32) 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.

Move Instance Method Refactoring

PhpStorm already has a lot of refactorings that help you to move a method: Pull Up/Push Down refactorings, Move Static Method in combination with the Make Static refactorings. But not all methods can be made static or moved across the class hierarchy.

To cover such cases, PhpStorm 2018.2 introduces a new refactoring that allows moving an instance method to a parameter class or to a field class. Simply invoke the Move refactoring on a method declaration, and if the new refactoring can be applied, you will see a dialog letting you choose the target class.

move_instance

Jump outside closing bracket/quote with Tab

In the 2018.2 release cycle, IntelliJ Platform has implemented the long-awaited feature that enables you to jump outside brackets, parenthesis, and quotes just by pressing the Tab key. To activate this new mode, open Settings | Editor | General | Smart Keys and select the Jump outside closing bracket/quote with Tab checkbox. The feature works across all languages, be it PHP, JavaScript, or SQL.

jump_outside

Suggest fields of class when completing params in __construct()

If you don’t use the Generate|Constructor action and prefer to create a class constructor yourself, PhpStorm 2018.2 will help you by completing parameters’ names based on the existing fields’ names.

construct_param_completion

Other PHP features worth noting

  • New Inspection: Warn on optional parameter before required/obligatory parameter WI-9399
  • Completion: list dynamic methods too (basically all) after “::” in second completion invocation WI-18727
  • Allow renaming old style constructor to the new style WI-29142

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

  • Improper type checking of a type-hinted parameter when a default value is set WI-27738 
  • Custom Parameter %VAR% not working when wrapped in single quotes. DBE-2647 
  • Psi aware brace highlighter DBE-521 
  • Clearer connection status indication DBE-1851 
  • Can’t run Karma in @angular/CLI 6 projects WEB-32653 

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.2 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.2 EAP 182.2574.13 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

Posted in Early Access Program | 6 Comments

PhpStorm 2018.1.4 is released

PhpStorm 2018.1.4 build 181.5087.24 is now available! You can download it here or in JetBrains Toolbox App. If you have installed the previous PhpStorm 2018.1.3 or PhpStorm 2018.1.4 EAP build (181.5087.11), please invoke the Check for updates action to receive the latest update.

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

Notable bug fixes and features worth mentioning:

  • Fixes for PHP Remote Interpreters (Docker/Docker-Compose and Vagrant) WI-42021 and WI-42027
  • Compiling PL/SQL code with actual errors DBE-5340 
  • Support of conditional compilation flags in pl/sql code DBE-2581
  • Show inferred type in Flow in Brief Info WEB-30445 

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

Download PhpStorm 2018.1.4 build 181.5087.24 for your platform or click “Update” in your JetBrains Toolbox App and please do report any bugs and feature request to our Issue Tracker.

JetBrains PhpStorm Team
The Drive to Develop

Posted in Release Announcements | 13 Comments

PhpStorm 2018.2 Early Access Program is Open

Today we start the Early Access Program for PhpStorm 2018.2 (EAP). A fresh build 182.2371.32 is available for download here and within the JetBrains Toolbox App.

What is Early Access Program?

Early Access Program (EAP) allows you to try pre-release versions of our software to evaluate features that will be added in the next release. It is important to distinguish EAP from traditional pre-release software. Please note that the quality of EAP versions may at times be far below even usual beta standards. If you are looking for a stable version of PhpStorm, please visit our site.

webide_logo

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

Continue reading

Posted in Cool Feature, Early Access Program, Newsletter | 16 Comments

PhpStorm 2018.1.4 EAP 181.5087.11

It’s a start of Early Access Program for PhpStorm 2018.1.4, a fourth minor update for the recently released PhpStorm 2018.1. A fresh build  181.5087.11 is available here, in JetBrains Toolbox App or, if you have installed PhpStorm 2018.1.3 and have “Early Access Program” channel in Settings->System Settings->Updates, 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 takes on the latest improvements in IntelliJ Platform.

Continue reading

Posted in Early Access Program | 1 Comment