PhpStorm 2021.1: Preview for PHP and HTML Files, 20+ New Inspections, Improvements in All Subsystems, and Pair Programming via Code With Me

Newsletter
Releases
Read this post in other languages:Русский
PhpStorm 2021.1 is now available!
This major release introduces a built-in preview for PHP and HTML files, 20+ new inspections to help prevent bugs, improvements in all subsystems, pair programming via Code With Me, and much more.
Download PhpStorm 2021.1
Here are the main highlights of the release:
PHP
IDE
Docker
Version Control
Code With Me
Read this blog post for details about all the significant updates, along with a ton of GIFs!
Set the PHP language level in the status bar
In the previous release we added a PHP version indicator to the status bar. In 2021.1 you can unsync the version from the one specified in composer.json and set it to any version you want. This allows you to check the compatibility of your code with newer versions of PHP.
Locate PHP settings more easily
We moved the main PHP-related settings to the top level of the Settings / Preferences | PHP dialog and it’s now faster to get to them.
Preview PHP and HTML files in the editor
When you hover the cursor over the editor, a popup with each of the different browser icons appears in the top right corner. When you click on one of the browser icons, the current file is opened in that browser.
Now there will be an additional PhpStorm icon there . Click on it to open a preview of the file directly in the editor without switching to another window.