4.2.2 Release - magento/magento2-phpstorm-plugin GitHub Wiki

What's new in Magento PHPStorm Plugin 4.2.2

This release contains some minor new features, improvements and bug fixes.

New

Added the ability to open all plugins in the Find Tool Window

Now, you can use the "Open In Find Tool Window" action for the "Navigate to plugins" line-marker results.

So that the interaction with this element was made more convenient:

Added custom search scope to exclude test files from search

Introduced new predefined search scope group (Magento) and search scope (All Files Except Tests). It works as All Places search scope except ignoring php test classes.

Added uiComponent registration syntax highlighting as JSON

Provided uiComponent registration syntax highlighting inside <script type="x-magento-init"> tags.

Added new Magento version support (2.4.4-beta4) for the UCT feature in #922

Changed

  • Eliminated com.google.gson.JsonParser#parse usage in #928
  • Eliminated LineMarkerXmlTagDecorator#checkDelete usage in #910
  • Eliminated LineMarkerXmlTagDecorator#checkAdd usage in #909
  • Enhanced errors showing for the new Magento 2 UI Component Form dialog window in #892
  • Enhanced errors showing for the new Magento 2 UI Component Grid dialog window in #891
  • Enhanced errors showing for the new Magento 2 DB Schema XML dialog window in #890
  • Enhanced errors showing for the new Magento 2 Message Queue dialog window in #889
  • Enhanced errors showing for the new Magento 2 Data Model dialog window in #888
  • Enhanced errors showing for the new Magento 2 Models dialog window in #887
  • Enhanced errors showing for the new Magento 2 Email Template dialog window in #886
  • Enhanced errors showing for the new Magento 2 CLI Command dialog window in #885
  • Enhanced errors showing for the new Magento 2 GraphQl Resolver dialog window in #884
  • Enhanced errors showing for the new Magento 2 View Model dialog window in #883
  • Enhanced errors showing for the new Magento 2 Cron Group dialog window in #882
  • Enhanced errors showing for the new Magento 2 Cron Job dialog window in #881
  • Enhanced errors showing for the new Magento 2 Controller dialog window in #880
  • Enhanced errors showing for the new Magento 2 Block dialog window in #865

Bugfixes

  • An overriding layouts and templates allows to select an incompatible theme.
  • An observer action visibility.
  • A general exception while accessing phpIndex.getAnyByFQN(classFQN).
  • A ClassCastException for the GraphQlResolverIndex.getGraphQLUsages.
  • A plugin inspection does not work correctly.
  • A module name declaration inspection flags valid code.
  • A ClassCastException: PsiPlainTextFileImpl cannot be cast to class XmlFile in WebApiTypeIndex.
  • An IndexNotReadyException while opening a context menu.
  • An IllegalArgumentException: URLDecoder: Incomplete trailing escape (%) pattern.
  • A Throwable: AWT events are not allowed inside write action (UI Form).
  • A Slow operations are prohibited on EDT when calling update method on the CreateAPluginAction.
  • A Throwable: when an IOException is thrown during new plugin generation.
  • An IndexOutOfBoundsException in case when entered no fields during ui form generation.
  • A NullPointerException when opening new cron job dialog for an invalid Magento 2 module.
  • A NoSuchElementException when creating new controller.
  • A Message Queue Connection does not match Naming Conventions.
  • A StringIndexOutOfBoundsException during UCT inspection via action execution.
  • A NullPointerException in the PluginDeclarationInspection.fetchModuleNamesWhereSamePluginNameUsed (calling toString on null).