Skip to content

4.4.0 Release

vitaliy edited this page Sep 17, 2022 · 2 revisions

What's new in Magento PHPStorm Plugin 4.4.0

This release contains Data Patches code generators for creating EAV attributes, code completion adjustments and multiple fixes.

Code generation

Data Patch with Customer EAV attribute

Added context action for the Data Patch file generation with Customer EAV attribute

Data Patch with Category EAV attribute

Added context action for the Data Patch file generation with Category EAV attribute

Data Patch with Product EAV attribute

Added context action for the Data Patch file generation with Product EAV attribute

Code generation of Readme file

Added context action for the Readme.md module file generation

Code generation of GraphQl schema file

Added context action for the schema.graphqls file generation

Added generation of Readme file to the new module action

Optional code generation of Readme file during the creation of a new module

Code completion

Code completion for configs

Code completion for system.xml

and config.xml

Reference navigation

Improved navigation through plugins

Added easier navigation through plugins considering plugin type and sort order

Code inspection

Virtual type check

Added inspection to check if the type attribute value in the virtual type tag of the di.xml is valid

For an empty value:

For an invalid value:

Improvements

Plugin initialization

Added checks and detailed error messages during plugin initialization

Bugfixes

  • IOException: Invalid file name at ReportBuilder
  • IllegalArgumentException in NewModuleAction class
  • null data in ModuleIndex class
  • StringIndexOutOfBoundsException: GitHubNewIssueBodyBuilderUtil
  • ArrayIndexOutOfBoundsException: Index 1 out of bounds for length 0 in OverrideClassByAPreferenceDialog
  • PatternSyntaxException: MagentoBasePathUtil.isMagentoFolderValid:35 for Windows styled dir path separator
  • NullPointerException in the OverrideTemplateInThemeAction.isOverrideAllowed for virtualFile.getCanonicalPath()
  • IllegalArgumentException: Argument for @NotNull parameter 'dataKey' must not be null in CompareTemplateAction
  • Argument for @NotNull parameter 'project' must not be null in the OverrideClassByAPreferenceAction
  • New layout action doesn't accept valid layout names