Software Update: PhpStorm 2021.3.1

Spread the love

JetBrains releases several development environments, such as IntelliJ Idea targeting Java, CLion targeting C and C++ and DataGrip targeting sql. PhpStorm focuses on PHP and provides on-the-fly error prevention, autocompletion, code refactoring and debugging, and also handles HTML, CSS, Coffee and JavaScript. For an overview of the possibilities, we refer to this page† To use PhpStorm is a license required. For business and home use you will have to pay for it, but if the software is used for education or non-commercial open source projects, the license is free. JetBrains has released version 2021.3.1 of PhpStorm and the main changes and improvements made to it can be found below:

PhpStorm 2021.3.1 has been released

The first bug fix update for PhpStorm 2021.3 is now available. You can update to it using the Toolbox App or right from inside the IDE. you can also download PhpStorm 2021.3.1 from the website† Besides bug fixes and enhancements, this release brings an important new feature: trusted projects.

Trusted projects

This release introduces the concept of trusted projects, designed to mitigate the risks associated with working with projects from unknown and untrusted sources. When you open a project, PhpStorm doesn’t execute any code from it and checks whether it is trusted or from a trusted location. If the project currently is not trusted, the IDE will ask you to choose whether to open it in safe mode or full-trust mode.

If you open a project in safe mode, many IDE features, such as error highlighting, will be disabled. However, you can still browse the project’s contents and open its source files in the editor. The IDE will also warn you about all potential code execution, which includes running Composer commands and refreshing the versions for configured test frameworks and PHP command-line tools.

To avoid showing warnings for every project, PhpStorm lets you define trusted locations under Preferences/Settings | Build, Execution, Deployment | Trusted Locations. Projects in directories specified as “Trusted Locations” are always considered trusted. To ensure that you get the untrusted project warnings only when something out of the ordinary is happening, it is recommended adding the directory where you usually create projects to trusted locations.

If you want to disable the untrusted project warnings, you can add your machine’s root directory to the trusted locations. But since this could potentially leave you open to an attack, it is generally not recommended.

Other notable changes

  • Fixed: Yarn PnP: Indirect dependencies are not indexed (WEB-42178
  • Fixed: Tailwind 3: Completion for classes doesn’t work (WEB-53284
  • Fixed: Accidental tool window drag’n’drop instead of resizing (IDEA-274904
  • Fixed: Incorrect results in DateTime columns with Clickhouse (DBE-7770
  • Angular: support events from custom EventManagerPlugin (WEB-47399
  • Support v-bind CSS function in Vue Single-File Components. †WEB-52425
  • Fixed: ESLint 8.0: doesn’t work with YarnPnP (WEB-52594
  • Fixed: Sass @use / @import statements without tilde aren’t being resolved correctly (WEB-53120
  • Provide the text search in the Quick Documentation (Ctrl + Q) (IDEA-152644
  • Fixed: @import in LESS does not resolve packages in node_modules if `~` is omitted (WEB-49795
  • Fixed: Performance problem after running http tests (IDEA-278252
  • Fixed: HTTPRequest: client.global.set broken inside client.test callback (IDEA-283799
  • Fixed: @import in scss does not resolve packages in node_modules (WEB-30607
  • Fixed: Directory content is not shown in Bookmarks list (IDEA-283144
  • Add support for conditional optionallity of parameters in stubs (WI-61718

Version number 2021.3.1
Release status Final
Operating systems Windows 7, Linux, macOS, Windows 8, Windows 10, Windows 11
Website JetBrains
Download
License type Freeware/Paid
CLionCoffeeCSSIDEIntelliJIntelliJ IdeaPerformancePHPPhpStormSoftwareWindows