PhpStorm 2018.1.2 is released

PhpStorm 2018.1.2 build 181.4668.78 is now available! You can download it here or in JetBrains Toolbox App. If you have installed the previous PhpStorm 2018.1.1 or PhpStorm 2018.1.2 EAP build (181.4668.24), 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.

Syntax Highlighting in Quick Definition

Using the Quick Definition popup became more convenient: with added syntax highlighting, you can now read what exactly a function or a class is doing, without losing your current context.

Flexible configuration of imports from the global namespace

In the previous versions of PhpStorm, you could choose to either import everything (functions, classes, constants) from the global namespace or use FQN for functions and constants. We’ve listened to your feedback and realized that more flexibility is sometimes required. In PhpStorm 2018.1.2, you can control auto-import separately for classes, functions, and constants.

For classes, you can choose between “insert FQN” and “prefer import” (PhpStorm will insert import if this doesn’t result in a conflict). For functions and constants, the options are “insert FQN”, “prefer import”, and “prefer fallback” (you can refer to the PHP documentation for its exact meaning).


Notable bug fixes and features worth mentioning:

  • Collapsing tree node does not collapses all subnodes (regression) IDEA-186081
  • Command Line Tools Console – Cursor Not In Run Box WI-39796
  • Incorrect variable name during phpDoc generation for field in case inferred type in constructor $this WI-40887
  • ‘Goto definition’ on ‘new expression’ targeting parent class __construct instead of referenced class WI-41585
  • Provide the ability to disable tooltips in editor without disabling inspections IDEA-114803
  • Subversion File History not working for links with spaces IDEA-185360
  • Typescript readonly type inference from const WEB-32055
  • Add option to omit JsDoc types for TypeScript code WEB-28964

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

Download PhpStorm 2018.1.2 build 181.4668.78 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

This entry was posted in Newsletter, Release Announcements and tagged . Bookmark the permalink.
  • CanadianCoder

    No fix for IDEA-187808?

    • mkz

      Unfortunately that still reproduces, for quite a lot of people (if not most). There is a suggested workaround that I can confirm it works: go to menu “Help” -> “Edit custom properties…”, (create the file if prompted,) then add the following line: “action.aware.typeAhead = false” and restart the IDE. The bug should be “worked around” :)

    • Eugene Morozov

      Not yet, sorry. The IDEA team is working hard on that one.

  • ksadowski_com

    There’s no option available for me to patch-update right now. Is that temporary? I’m currently on a mobile connection, so I’d prefer a patch if there’s any hope of it being available later. Thanks!

    • Eugene Morozov

      What version are you on currently? Just checked that the patch is available for 2018.1.1.
      If you have an older one, you can’t upgrade with the patch unfortunately:

      • ksadowski_com

        Ooh, you’re right, I’m on 2018.1… After posting the above I noticed I had update notifications disabled somehow, that must be why… Thanks!