PhpStorm 2019.2.3 is released

PhpStorm 2019.2.3 build 192.6817.20 is now available!

This third minor update for v2019.2 delivers many important fixes, better performance, and improved usability.

Contrast Scrollbars

PhpStorm provides lots of customization capabilities, but the one missing was the ability to set colors for the scrollbars. By default, the scrollbars are made to be less distracting.
In this release, we’ve introduced a new option Use contrast scrollbars under Preferences | Appearance & Behavior | Appearance to make them more visible.

scrollbars-contrast

Other notable changes:

  • The IDE now supports native password storage on Linux using KWallet (IDEA-163275 +136)
  • We’ve brought back the old ‘Compare with Current’ dialog (IDEA-209664 +25)
  • Fixed the IDE freezes caused by a lot of ignored files (IDEA-219152 +11)
  • Fixed: PHPStorm 2019.2.1 fails to upload temporary file for phpcs (WI-48678 +5)
  • Fixed: autocomplete skips parameters inside closure when using “use” (WI-48124 +4)
  • Improved the performance of SVN operations (IDEA-219881 +2)
  • Fixed: Slow response in the large Blade files (WI-47694 +2)

See the full list of bugfixes and improvements in the release notes.


Download PhpStorm 2019.2.3 build 192.6817.20 for your platform on the website or click Update in your JetBrains Toolbox App.

We appreciate you reporting any bugs and feature requests to our Issue Tracker.

Your JetBrains PhpStorm Team
The Drive to Develop

Posted in Release Announcements | Tagged , | Leave a comment

PhpStorm 2019.3 EAP#2

The second build of the PhpStorm 2019.3 EAP is now available!

This build delivers PHPDoc improvements, lets you view the GitHub PR timeline and customize time format in VCS log, provides new quick-fixes for if-else constructs, and adds a couple of neat timesavers in PHP.

Download it on the EAP page or via the JetBrains Toolbox App. Or, if you have the previous PhpStorm 2019.3 EAP build (193.2956.42) installed, you should soon get a notification in your IDE about a patch update.

Download PhpStorm 2019.3 EAP

If you’re not yet familiar with our Early Access Program, here are the basics you should know:

  • Every week we publish a fresh build for the upcoming version of PhpStorm.
  • EAP builds provide access to the newest features we’re currently developing.
  • EAP builds are free to use but expire within 30 days of the build date.
  • Important! PhpStorm EAP builds are not fully tested and might be unstable.
  • You can install an EAP build side by side with a stable PhpStorm version to try the latest features.

PHPDoc

PHPDoc blocks in PHP are an integral part of development. They can even affect the execution if you are using advanced annotations and AOP techniques.
Traditionally in PhpStorm, you had resolving for FQNs and links in PHPDoc, but the whole block was displayed in one color and styled just like regular comments.
Now, starting with PhpStorm 2019.3, doc blocks will get full highlighting for all the types, variables, params, methods, and properties. If you have HTML in your comments, it will also be highlighted as such.

phpdoc-light-theme

Let us know how you like the changes and what we should improve!

Quick-fixes for conditions

The conditional if-else statement is probably the most used construct in the language. So in PhpStorm 2019.3, we’ve added a few quick & neat actions to manipulate conditions.

If you have an assignment inside an if statement, PhpStorm will suggest extracting it to a variable with Alt+Enter:

if-assignment-extract

If you have nested if conditions, it is now possible to quickly merge them into one with Alt+Enter:

if-merge-conditions

You can merge else followed by if into a single elseif:

else-if-merge

Or do the opposite and split elseif into else and if:

elseif-split

Other Improvements

Auto-insert <?php when just <? is typed in

Short tags are likely to remain a part of PHP at least for the next few years, as the last RFC vote did not pass.

But PhpStorm will help you a bit with deprecating short tags, by automatically inserting <?php as soon as you type <?:

php-no-short-tag

Automatically complete ‘=’ to ‘=>’ after array key

Another small timesaver in the upcoming 2019.3. When you are adding an item into an array, and you type a key and then want to type => to specify a value, just press = and PhpStorm will auto-insert =>:

array-quick-typing

Fonts & colors for $this variable

While coding, we sometimes spend more time reading than writing, so coloring and highlighting really matters. In 2019.3, you will be able to choose the font and colors for occurrences of $this:

this-color-and-fonts

What else would you like to have improved in highlighting? Let us know!

VCS

Date format customization

Sometimes, when you are looking through a version history log, it’s easier to comprehend the information if the time is displayed in a relative format. Or, if you are from the US, you are most likely used to mm/dd/yyyy.

In PhpStorm 2019.3, it is possible to configure the date format for VCS Annotate and VCS Log actions.

vcs-date-formats

In fact, we’ve added the API for date/time customization in the IntelliJ Platform, and we will add more UI areas where date and time formats are important. Feel free to create feature requests for them.

Timeline for GitHub Pull Requests

Some time ago we introduced initial support for GitHub Pull Requests, to let you view the list of all Pull Requests in the project and browse through them to see the changes and their current status. While it was great to have this ability in the IDE, there were some known limitations, for example, being unable to view reviewers’ comments.

The upcoming PhpStorm 2019.3 will add this missing piece to the picture. It will display a timeline with all the relevant information about a pull request such as comments, reviews, and updates made to pull requests – basically, all the information you may need to make a decision whether or not to merge this pull request.
Simply double-click a pull request, and the IDE will display the comments in the editor tab.

github-timeline

For the full list of changes in this build, including both bug-fixes and improvements, consult the release notes.

Please report any problems to our issue tracker, or by commenting on this post. Your feedback is much appreciated!

Your JetBrains PhpStorm Team
The Drive to Develop

Posted in Early Access Program | Tagged , | Leave a comment

PhpStorm 2019.2.3 RC

We’ve just rolled out a release candidate for the third minor update for PhpStorm 2019.2. Download it here or via the Toolbox App. Please give PhpStorm 2019.2.3 RC build 192.6817.12 a try and share your feedback with us!

Continue reading

Posted in Release Candidates | Leave a comment

PhpStorm 2019.3 Early Access Program is Now Open

Today we are starting the Early Access Program (EAP) for PhpStorm 2019.3. The first EAP build, 193.2956.42, is available for download from our website and in the JetBrains Toolbox App.

blog@2x

Every release cycle, we invest a lot of effort in fixing bugs and improving the performance of all our IDEs at JetBrains. This time, we’re going even further. We’ve organized a quality marathon, during which all of our teams that work on the IntelliJ Platform or benefit from it will focus almost exclusively on performance and quality.

The PhpStorm team is in the marathon as well, which means you’ll see many long-standing issues and pain points finally resolved, especially those that affect most users. You may expect fewer new features added to PhpStorm this time, but we promise to make you happy with full PHP 7.4 support, PSR-12 code style, some new functionality, and great enhancements.

In the current build, you’ll find support for many PHP 7.4 features, the ability to specify the interpreter for PHP test run configurations, and the ability to inject PHP in literals. The update incorporates all the latest improvements from the IntelliJ Platform as well.

Download PhpStorm 2019.3 EAP

Continue reading

Posted in Early Access Program, Newsletter | Tagged , , , , | Leave a comment

PhpStorm 2019.2.2 is released

PhpStorm 2019.2.2 build 192.6603.42 is now available!

In this second minor update for PhpStorm 2019.2, we are happy to bring you improved type inference and parameters info tooltip, as well as a bunch of other bugfixes and improvements for PHP, the Web, and all the latest improvements made to the IntelliJ Platform.

Improved Type Inference

We’ve made a lot of changes in the PHP type inference system, which affect the handling of $this/self/static return types. The following long-standing issues, as well as many others, are now fixed:

  • WI-28728 +18 Fixed: No code completion in foreach loop if array of object is generating from static method with static array type hint
  • WI-18067 +18 Fixed: Late Static Bindings errors on calls in non-static context
  • WI-38803 +13 Fixed: PHP 7 self return type incorrectly analyzed in chained method calls
  • WI-29051 +12 Fixed: $this[]|static[] as return type breaks chained type hinting for variable with element access

type_inference

Detailed Parameter Description

Have you ever wondered what exactly should be passed to the function or method as an argument? Previously you had to open Quick Documentation and scroll to the parameter description. Now you can press CTRL+P/CMD+P (Parameter Info) and view the description right away.

parameters_tooltip

Try it when you don’t remember what should go in that place:

parameter_info

Other notable changes:

  • Fixed: IDE opens on a last known location when external monitor is detached: outside of screen (IDEA-153291 +36)
  • Fixed: Stretch left keybinding doesn’t work (IDEA-218926 +14)
  • Fixed: Nested sources folder not showing in Project view after updating to 2019.1 (IDEA-215752 +14)
  • Fixed: Enter Full Screen & Exit Full Screen does not execute when invoked via find action (IDEA-192504 +13)
  • Fixed: Exception occurs on applying “Show F1, F2, etc. keys on the Touch Bar” option (IDEA-202927 +12)
  • Automatically escape special symbols for “Find” and “Find in Path” dialogs if “Regex” (“Regular Expression”) is checked (IDEA-109899 +12)
  • Fixed: Xdebug 2.6.1 Profiler snapshot not opening (WI-44833 +8)
  • Fixed: Docker exec tab does not correctly wrap (IDEA-179900 +8)
  • Fixed: Freeze on project opening (IDEA-220475 +6)

You can find the full list of bugfixes and improvements in the release notes.


Download PhpStorm 2019.2.2 build 192.6603.42 for your platform on the website or click Update in your JetBrains Toolbox App.

We appreciate you reporting any bugs and feature requests to our Issue Tracker.

Your JetBrains PhpStorm Team
The Drive to Develop

Posted in Release Announcements | Tagged , | Leave a comment

PhpStorm 2019.1.4 is released

It’s been a while since we’ve released a bugfix update for PhpStorm 2019.1, so here is one – PhpStorm 2019.1.4.

This minor update for 2019.1 has lots of fixes, performance improvements, fixed regressions, and more.

Continue reading

Posted in Release Announcements | Tagged , | Leave a comment

PHP Annotated – September 2019

php_annotated

Greetings everyone,

It’s time for our September edition of PHP Annotated! Get the latest on PHP 7.4.0 RC 1, Laravel 6, Monolog 2, and other releases. There are loads of insights from PHP Internals, including Union Types RFC, plus we’ll share links for Laravel and Symfony, useful tools, videos, podcasts, and a whole lot more!
Continue reading

Posted in PHP Annotated Monthly | Tagged , , , , | Leave a comment

PhpStorm 2019.2.2 RC

Every week brings you a fresh update to PhpStorm, and this one is no exception. Meet the RC for PhpStorm 2019.2.2! Try PhpStorm 2019.2.2 RC build 192.6603.26 and share your feedback with us.

Notable updates since last build:

  • Settings for New Project aren’t saved (IDEA-211731 +8)
  • Xdebug 2.6.1 Profiler snapshot not opening in PHPStorm 2018.3 (WI-44833 +8)

See all changes since the last build in the release notes.


Download PhpStorm 2019.2.2 RC build 192.6603.26 for your platform here:

Or just click Update in your JetBrains Toolbox App.

We appreciate your reporting any bugs and feature requests to our Issue Tracker.

Your JetBrains PhpStorm Team
The Drive to Develop

Posted in Release Candidates | Tagged , | Leave a comment

PhpStorm 2019.2.2 Preview

We’ve just released PhpStorm 2019.2, and today we are ready to give you a preview of the second bugfix update. Please try PhpStorm 2019.2.2 Preview build 192.6603.14 and share your feedback with us.

Improved Type Inference

We’ve made a lot of changes in the PHP type inference system, which affect the handling of $this/self/static return types. The following long-standing issues, as well as many others, are now fixed:

  • WI-28728 +18 Fixed: No code completion in foreach loop if array of object is generating from static method with static array type hint
  • WI-18067 +18 Fixed: Late Static Bindings errors on calls in non-static context
  • WI-38803 +13 Fixed: PHP 7 self return type incorrectly analyzed in chainned method calls
  • WI-29051 +12 Fixed: $this[]|static[] as return type breaks chained type hinting for variable with element access

type_inference

Detailed Parameter Description

Have you ever wondered what exactly should be passed to the function or method as an argument? Previously you had to open Quick Documentation and scroll to the parameter description. Now you can press CTRL+P/CMD+P (Parameter Info) and view the description right away.

parameter_info

This Preview build brings with it other important bugfixes, performance and usability improvements, as well as regression fixes.

Here are some notable fixes:

  • IDEA-153291 +36 Fixed: IDE opens on a last known location when external monitor is detached: outside of screen
  • IDEA-200255 +15 Fixed: New ‘Go to Class’ dialog sometimes doesn’t show anything
  • IDEA-215752 +14 Fixed: Nested sources folder not showing in Project view after updating to 2019.1
  • IDEA-218926 +14 Fixed: Stretch left keybinding doesn’t work
  • IDEA-192504 +13 Fixed: Enter Full Screen & Exit Full Screen does not execute when invoked via find action
  • IDEA-109899 +12: Fixed: Automatically escape special symbols for “Find” and “Find in Path” dialogs if “Regex” (“Regular Expression”) is checked
  • IDEA-202927 +12 Fixed: Exception occurs on applying “Show F1, F2, etc. keys on the Touch Bar” option
  • IDEA-199472 +9 Fixed: Tool windows broken when opening project
  • IDEA-179900 +8 Fixed: Docker exec tab does not correctly wrap
  • WEB-33502 +7 Fixed: Prettier File Watcher: inconsistent behavior with Refactoring > Rename
  • WEB-30191 +7 Fixed: CORS problem when debugging because of “x-ijt” header being sent
  • WEB-40437 +7 Fixed: JS debug requires remote URL mapping in 2019.2

Check out the list of all changes in the release notes.


Download PhpStorm 2019.2.2 Preview build 192.6603.14 for your platform here:

Or just click Update in your JetBrains Toolbox App.

We appreciate your reporting any bugs and feature requests to our Issue Tracker.

Your JetBrains PhpStorm Team
The Drive to Develop

Posted in Cool Feature | Tagged | Leave a comment

PhpStorm 2019.2.1 is released

PhpStorm 2019.2.1 build 192.6262.66 is now available!

We are happy to bring you the first update for the recently released PhpStorm 2019.2. The release has important bug fixes and improvements for PHP and the Web and takes on the latest improvements in IntelliJ Platform.

Continue reading

Posted in Release Announcements | Tagged | Leave a comment