{"id":21477,"date":"2019-12-19T14:30:13","date_gmt":"2019-12-19T14:30:13","guid":{"rendered":"https:\/\/blog.jetbrains.com\/phpstorm\/?p=15205"},"modified":"2024-01-09T14:50:58","modified_gmt":"2024-01-09T13:50:58","slug":"phpstorm-2019-3-1-is-released","status":"publish","type":"phpstorm","link":"https:\/\/blog.jetbrains.com\/pt-br\/phpstorm\/2019\/12\/phpstorm-2019-3-1-is-released","title":{"rendered":"PhpStorm 2019.3.1 is released"},"content":{"rendered":"<p class=\"\"><strong>PhpStorm 2019.3.1<\/strong> build 193.5662.63 is available now. It brings with it important bugfixes and a couple of small but heavily requested usability improvements.<\/p>\n<h2 id=\"customizable_auto_insertion_of_short_tags\">Customizable auto-insertion of short tags<\/h2>\n<p>PhpStorm 2019.3 introduced the ability to automatically insert <code>&lt;?php<\/code> as soon as you type <code>&lt;?<\/code>, which can help you deprecate short tags:<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-medium wp-image-15209\" src=\"https:\/\/blog.jetbrains.com\/wp-content\/uploads\/2019\/12\/phpstorm-php-no-short-tag.png\" alt=\"php-no-short-tag\" width=\"600\" data-gif-src=\"https:\/\/blog.jetbrains.com\/wp-content\/uploads\/2019\/12\/phpstorm-php-no-short-tag.gif\" \/><\/p>\n<p>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\u2019ve brought several enhancements to the feature.<\/p>\n<p>First, you can now opt out completely. In the PhpStorm preferences, go to <em>Editor | General | Smart Keys | PHP <\/em>and clear the <em>Auto-insert &#8216;&lt;?php&#8217; tag after typing &#8216;&lt;?&#8217;<\/em> checkbox:<\/p>\n<p><img decoding=\"async\" class=\"alignnone wp-image-15210\" src=\"https:\/\/blog.jetbrains.com\/wp-content\/uploads\/2019\/12\/phpstorm-auto-insert-short-tag.png\" alt=\"auto-insert-short-tag\" width=\"724\" \/><\/p>\n<p>Second, PhpStorm will filter out the extra <code>php<\/code> if you happen to type it reflexively, so <code>&lt;?phpphp<\/code> should no longer occur. And, to remove the <code>php<\/code> part, you only have to press <em>Backspace<\/em> once:<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-medium wp-image-15212\" src=\"https:\/\/blog.jetbrains.com\/wp-content\/uploads\/2019\/12\/phpstorm-php-no-short-tag-delete.png\" alt=\"php-no-short-tag-delete\" width=\"706\" data-gif-src=\"https:\/\/blog.jetbrains.com\/wp-content\/uploads\/2019\/12\/phpstorm-php-no-short-tag-delete.gif\" \/><\/p>\n<h2 id=\"customizable_highlighting_for_phpdoc_blocks\">Customizable highlighting for PHPDoc blocks<\/h2>\n<p>Another feature that required a more tailored approach is colored highlighting for PHPDoc blocks, which we introduced in 2019.3.<\/p>\n<p><img decoding=\"async\" class=\"alignnone wp-image-15213\" src=\"https:\/\/blog.jetbrains.com\/wp-content\/uploads\/2019\/12\/phpstorm-phpdoc-improvements.png\" alt=\"phpdoc-improvements\" width=\"600\" \/><\/p>\n<p>It turns out that change was a bit too radical for some, so now it\u2019s possible to customize the colors used. In the PhpStorm preferences, go to <em>Editor | Color Scheme | PHP | PHPDoc<\/em>, clear the <em>Inherit values from<\/em> checkbox on the elements you\u2019d like to customize, and then set the desired colors:<\/p>\n<p><img decoding=\"async\" class=\"alignnone wp-image-15214\" src=\"https:\/\/blog.jetbrains.com\/wp-content\/uploads\/2019\/12\/phpstorm-phpdoc-customize.png\" alt=\"phpdoc-customize\" width=\"900\" \/><\/p>\n<p>As always, there\u2019s a handy shortcut you can use to jump straight to the corresponding settings page. Place the caret on some PHPDoc element, press <em>Shift+Cmd+A<\/em> (<em>Ctrl+Shift+A<\/em> on WIndows), and search for the <em>Jump to Colors and Fonts<\/em> action:<\/p>\n<p><img decoding=\"async\" class=\"alignnone wp-image-15215\" src=\"https:\/\/blog.jetbrains.com\/wp-content\/uploads\/2019\/12\/phpstorm-phpdoc-jump-to-settings.png\" alt=\"phpdoc-jump-to-settings\" width=\"706\" \/><\/p>\n<p><strong>Notable updates and bugfixes:<\/strong><\/p>\n<ul>\n<li>PHP Profiler: Show memory column for Xdebug &gt; 2.6 (<a href=\"https:\/\/youtrack.jetbrains.com\/issue\/WI-40687\" target=\"_blank\" rel=\"noopener\">WI-40687<\/a> +5)<\/li>\n<li>Fixed: Incorrect &lt;visibility&gt; const order in PHP class when formatting code (<a href=\"https:\/\/youtrack.jetbrains.com\/issue\/WI-49902\" target=\"_blank\" rel=\"noopener\">WI-49902<\/a> +3)<\/li>\n<li class=\"\">Fixed: Format Code incorrectly changes list to array destructure (<a href=\"https:\/\/youtrack.jetbrains.com\/issue\/WI-49966\" target=\"_blank\" rel=\"noopener\">WI-49966<\/a> +12)<\/li>\n<li class=\"\">Fixed: Scrolling very slow\/sluggish in database table view\/editor with many columns (<a href=\"https:\/\/youtrack.jetbrains.com\/issue\/DBE-9604\" target=\"_blank\" rel=\"noopener\">DBE-9604<\/a> +10)<\/li>\n<li class=\"\">Fixed: Add property type modifies parent class in library (<a href=\"https:\/\/youtrack.jetbrains.com\/issue\/WI-49957\" target=\"_blank\" rel=\"noopener\">WI-49957<\/a> +4)<\/li>\n<li>Fixed: Focus lost after closing tool window if editor tabs are split (<a href=\"https:\/\/youtrack.jetbrains.com\/issue\/IDEA-227102\" target=\"_blank\" rel=\"noopener\">IDEA-227102<\/a> +4)<\/li>\n<\/ul>\n<p>For the full list of bugfixes and improvements in the update, please see the <strong><a href=\"https:\/\/confluence.jetbrains.com\/display\/PhpStorm\/PhpStorm+2019.3.1+Release+Notes\" target=\"_blank\" rel=\"noopener\">release notes<\/a><\/strong>.<\/p>\n<p>To get the latest version, just click <em>Update<\/em> in your <a href=\"https:\/\/www.jetbrains.com\/toolbox\/app\/\" target=\"_blank\" rel=\"noopener\">JetBrains Toolbox App<\/a>.<\/p>\n<p>We appreciate all your reports in our <a href=\"http:\/\/youtrack.jetbrains.com\/issues\/WI\" target=\"_blank\" rel=\"noopener\">Issue Tracker<\/a>, including both bugs and feature requests.<\/p>\n<p><strong><em>Your JetBrains PhpStorm Team<\/em><\/strong><br \/>\n<strong><em>The Drive to Develop<\/em><\/strong><\/p>\n","protected":false},"author":745,"featured_media":21485,"comment_status":"open","ping_status":"open","template":"","categories":[808,89,907],"tags":[2660,775,438],"cross-post-tag":[],"acf":[],"_links":{"self":[{"href":"https:\/\/blog.jetbrains.com\/pt-br\/wp-json\/wp\/v2\/phpstorm\/21477"}],"collection":[{"href":"https:\/\/blog.jetbrains.com\/pt-br\/wp-json\/wp\/v2\/phpstorm"}],"about":[{"href":"https:\/\/blog.jetbrains.com\/pt-br\/wp-json\/wp\/v2\/types\/phpstorm"}],"author":[{"embeddable":true,"href":"https:\/\/blog.jetbrains.com\/pt-br\/wp-json\/wp\/v2\/users\/745"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.jetbrains.com\/pt-br\/wp-json\/wp\/v2\/comments?post=21477"}],"version-history":[{"count":1,"href":"https:\/\/blog.jetbrains.com\/pt-br\/wp-json\/wp\/v2\/phpstorm\/21477\/revisions"}],"predecessor-version":[{"id":431935,"href":"https:\/\/blog.jetbrains.com\/pt-br\/wp-json\/wp\/v2\/phpstorm\/21477\/revisions\/431935"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/blog.jetbrains.com\/pt-br\/wp-json\/wp\/v2\/media\/21485"}],"wp:attachment":[{"href":"https:\/\/blog.jetbrains.com\/pt-br\/wp-json\/wp\/v2\/media?parent=21477"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.jetbrains.com\/pt-br\/wp-json\/wp\/v2\/categories?post=21477"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.jetbrains.com\/pt-br\/wp-json\/wp\/v2\/tags?post=21477"},{"taxonomy":"cross-post-tag","embeddable":true,"href":"https:\/\/blog.jetbrains.com\/pt-br\/wp-json\/wp\/v2\/cross-post-tag?post=21477"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}