Software-update: PhpStorm 2019.3.1

PhpStorm logo (76 pix) JetBrains brengt verschillende ontwikkelomgevingen uit, zoals IntelliJ Idea gericht op Java, CLion gericht op C en C++, DataGrip gericht op sql en PhpStorm gericht op php. PhpStorm biedt on-the-fly-errorpreventie, autocompletion, coderefactoring en debugging, en kan ook overweg met html, css, Coffee- en JavaScript. Voor een overzicht van de mogelijkheden verwijzen we naar deze pagina. Voor het gebruik van PhpStorm is wel een licentie nodig. Voor zakelijk en thuisgebruik zul je daarvoor moeten betalen, maar als de software wordt gebruikt voor onderwijs of niet-commerciële opensourceprojecten, is de licentie gratis. JetBrains heeft PhpStorm 2019.3.1 uitgebracht en hierin zijn de volgende veranderingen en verbeteringen aangebracht:

Customizable auto-insertion of short tags

PhpStorm 2019.3 introduced the ability to automatically insert <?php as soon as you type <?, which can help you deprecate short tags.

But because short tags are still a part of PHP, this turned out to be a bit excessive. That is why in this version, we’ve brought several enhancements to the feature.

First, you can now opt out completely. In the PhpStorm preferences, go to Editor | General | Smart Keys | PHP and clear the Auto-insert ‘<?php’ tag after typing ‘<?’ checkbox:

Second, PhpStorm will filter out the extra php if you happen to type it reflexively, so <?phpphp should no longer occur. And, to remove the php part, you only have to press Backspace once.

Customizable highlighting for PHPDoc blocks

Another feature that required a more tailored approach is colored highlighting for PHPDoc blocks, which we introduced in 2019.3.

It turns out that change was a bit too radical for some, so now it’s possible to customize the colors used. In the PhpStorm preferences, go to Editor | Color Scheme | PHP | PHPDoc, clear the Inherit values from checkbox on the elements you’d like to customize, and then set the desired colors:

As always, there’s a handy shortcut you can use to jump straight to the corresponding settings page. Place the caret on some PHPDoc element, press Shift+Cmd+A (Ctrl+Shift+A on WIndows), and search for the Jump to Colors and Fonts action:

Notable updates and bugfixes:
  • PHP Profiler: Show memory column for Xdebug > 2.6 (WI-40687 +5)
  • Fixed: Incorrect <visibility> const order in PHP class when formatting code (WI-49902 +3)
  • Fixed: Format Code incorrectly changes list to array destructure (WI-49966 +12)
  • Fixed: Scrolling very slow/sluggish in database table view/editor with many columns (DBE-9604 +10)
  • Fixed: Add property type modifies parent class in library (WI-49957 +4)
  • Fixed: Focus lost after closing tool window if editor tabs are split (IDEA-227102 +4)
For the full list of bugfixes and improvements in the update, please see the release notes.

PhpStorm screenshot (620 pix)

Versienummer 2019.3.1
Releasestatus Final
Besturingssystemen Windows 7, Linux, macOS, Windows 10
Website JetBrains
Download https://www.jetbrains.com/phpstorm/download/
Licentietype Shareware

Door Bart van Klaveren

Downloads en Best Buy Guide

30-12-2019 • 09:40

6

Submitter: Bux666

Bron: JetBrains

Update-historie

Reacties (6)

6
6
5
0
0
0
Wijzig sortering
Op zich jammer dat de short tags weg gaan. Ik snap wel waarom; het clasht met XML tags en het staat niet standaard aan in configuraties. Maar ik vond het altijd wel een stuk netter om de short tags in HTML te gebruiken.
<p>Welkom, <?=$username;?>.</p>

[Reactie gewijzigd door Memori op 25 juli 2024 07:37]

Dit is niet deprecated, alleen de short tags <? van het openen van een bestand:

"The <?= short tag is unaffected because as of PHP 5.4 it is always available."
vars outputten doe je toch in de template? :-)

{{$username}}
Haha nahh dat is voor millennials, baby boomers still love phtml :+
PhpStorm ftw. PhpStorm heeft mij al heel wat dev uurtjes bespaard!
Ook wel fijn dat als je denkt 'dit simpele ding zou mij ontzettend helpen', ze dat op hun Youtrack issue tracker ook best serieus oppakken.

Op dit item kan niet meer gereageerd worden.