PhpStorm 2022.1.2 Has Been Released

The second minor update for PhpStorm 2022.1 is now available. You can update by using the Toolbox App or from right inside the IDE. You can also download PhpStorm 2022.1.2 from our website.

Just like the previous minor release, this one mainly brings bug fixes and quality-of-life improvements. Let’s take a look!

Double Shift on terminal focus (IDEA-290102)

We fixed an issue where using double shift for Search Everywhere didn’t work when the terminal window was in focus.

Keyboard navigation in the Create New Class dialog (WI-66414)

When creating a new class, an issue was making it impossible to use the keyboard to navigate between the fields in the dialog. This bug has been fixed.

Backspace with multiline editing (WI-66145)

There was an issue with multiline editing where pressing Backspace only had an effect on the first line in multiline selections. This behavior now works properly again.

Git diff from the commit panel (IDEA-291970)

In some cases, clicking a commit in the commit panel didn’t show the proper Git diff, but instead just opened the file. This has been fixed.

Destructor return types (WI-66138)

The IDE was offering a suggestion to add a return type to destructors, which isn’t allowed in PHP. This suggestion has been removed.

Pasting in blade files (WI-66304)

We fixed some cases where you weren’t able to paste text in Blade files.

Tailwind autocompletion (WEB-55718)

Autocompletion for Tailwind was not working properly in some cases, this has been fixed.

Improved TypeScript support (WEB-55516, WEB-55517, WEB-55518)

We’ve added support for several new TypeScript 4.7 features:

Conditional types
typeof on #private fields
Optional variance annotations for type parameters

Closing or minimizing PhpStorm when interacting with UML diagrams (IDEA-292463)

On some occasions, you weren’t able to close or minimize PhpStorm when interacting with UML diagrams. This has been fixed.

@phpstan-import-type and @phpstan-type fixes (WI-66247)

We fixed an error where a type imported by @phpstan-import-type wasn’t being properly recognised when used in @phpstan-type.

@psalm-type in return tag of closure (WI-65705)

PhpStorm wasn’t able to recognize @psalm-type types as the return types of closures. This has been fixed.
The full list of changes in PhpStorm 2022.1.2 is available on the release notes page.

That’s all for today. Thanks for keeping up with the changes! We hope they improve your PhpStorm experience.

Download PhpStorm.
Tweet @ us!
Report bugs to our issue tracker.

Your JetBrains PhpStorm team
The Drive to Develop

The PhpStorm Blog : The Lightning-Smart IDE for PHP Programming | The JetBrains Blog
Read More