PhpStorm 2017.1 EAP 171.2822

The new PhpStorm 2017.1 EAP build (171.2822) is now available! You can download it here or via JetBrains Toolbox App. Or, if you have the previous PhpStorm 2017.1 EAP build (171.2613) 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 takes on the latest improvements in IntelliJ Platform.

Support PHPDoc in Blade injections

Good news for Laravel developers, we are happy to announce a support of PHPDoc in Blade injections. Now you can provide a type of a variable inside a template to get code completion.

blade_upd

Recognition of PHP class names in strings

As many users requested, we’ve added a recognition of PHP class names in strings. Class references will be now added to string literals in single quotes that will help you to maintain correct name in Rename Refactoring and to navigate to classes more quickly.

classes_in_strings_upd

Improvements in auto-import functionality

In this build, we’ve added improvements in auto-import functionality, including better alias support. The most notable feature is resolving and finding usages for class, function and constant aliases. That will help refactorings to be more robust.

AutoImport_upd

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


Download PhpStorm 2017.1 EAP build 171.2822 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

This entry was posted in Early Access Program, Newsletter and tagged . Bookmark the permalink.
  • hwao

    “Recognition of PHP class names in strings” – in that case isnt better to use MyConfiguration::class ? i dont get the point of using class name in string that way

    • Maxim Kolmakov

      It’s indeed better to use ::class but there are quite many projects and frameworks that still use strings.

  • yaeykay

    “Improvements in auto-import functionality” – can I automatically sort the list of use statements be their character length when using this feature?

    • Maxim Kolmakov

      Sure, please invoke “Code->Optimize Imports”.

  • Liviu Ionescu

    Support PHPDoc in Blade injections – YES!

  • Evgeniy Nikonorov

    Coooooooooooooooooooooooooooooooooooooooooooooooooool

  • Alexandru Pătrănescu

    Since several weeks ago, something changed on EAP regarding the branch selector.
    In the past, when switching between branches, usually the last branch would appear pre-selected.
    Now there is only master and it has a star… maybe something for a favorite branch feature? On a quick look, I didn’t found anything in release notes. Can you point me to the feature/change that is being implemented?
    https://uploads.disquscdn.com/images/a379bc3e67466791fafd03b78a135560fc361b3f3688a3c13d5f0248acbecdf4.jpg

    • Anton Kohutovič

      favourite branch is nice feature but anyways we loved to have last branch preselected even it’s not among favourites

      • Alexandru Pătrănescu

        Marking/unmarking a branch as favorite was a hard thing to find. I understand the feature now.
        Yes, I agree the last used branch should be available and preselected.
        It would be great if you could make a settings to “keep in the branch list the latest X number of branches”.

        • Anna Lebedeva

          Thank you for your feedback! will check what we can do.

          • Mike

            The same for me, it would be great if you can manage to find possibility add some configuration of this collapsing
            In projects I’m working on we have usually about 40-50 repositories with up to 70 branches per each, this new feature makes branch selection almost unusable.
            BTW: is that intentional? collapsing status is not stored, so I forced to click ‘show X more’ each time I trying to access hidden elements?

          • Maxim Kolmakov

            We’ve changed this part in the latest EAP. Does it become better? If not please comment at the https://youtrack.jetbrains.com/issue/IDEA-167023

          • Sergey Black

            +1 for the last branch feature.

      • Maxim Kolmakov

        We’ve changed this part in the latest EAP. Does it become better? If not please comment here https://youtrack.jetbrains.com/issue/IDEA-167023

    • Maxim Kolmakov

      We’ve changed this part in the latest EAP. Does it become better? If not please comment at https://youtrack.jetbrains.com/issue/IDEA-167023

  • Konstantin Remizov

    ALmost impossible to work on Macbook Pro after installing this new EAP version. Typing is very very slow. Same problems as described in this post https://intellij-support.jetbrains.com/hc/en-us/community/posts/207699905-2016-2-very-slow
    But I checked JDK version and it uses build in JetBrains JDK.
    Tried clearing caches and removing bookmarks – not helpful…

  • SBurina

    Hello!
    The new blade inspections seem to be the step in the wrong direction. @lang does NOT need a closed tag, auto-reformatting does not work as expected.

    Please try:

    @if(true)
    @lang(‘some.key’)
    @else
    @lang(‘some.otherkey’)
    @endif

    This was working MUCH better in 2016.x. :(

  • Renan Coelho

    How to close Blade directives automatically? I need to type @sec and PhpStorm must have to close with @endsection and place the cursor at the middle of directive tab spacing. Can be that possible?