Code completion - magento/magento2-phpstorm-plugin GitHub Wiki

Reference navigation / Code completion

Line markers from a Plugin class to a Target class

MFTF support

Support of the most commonly used MFTF XML directives.

  • Page URL completion and reference

  • Action group completion and reference

  • Test extends attribute completion and reference

  • Selector completion and reference

RequireJS mapping support

The RequireJS configuration file requirejs-config.js is commonly used in the different areas of Magento 2.You can use it to create aliases for a component.

  • Reference on injected argument

  • Completion and reference in XML

GraphQL support (Optional, Requires GraphQLJS plugin)

Sometimes, you may need to quickly navigate from GraphQL resolver to schema and vice versa. We added line markers to make that easier. To use this functionality, install the GraphQLJS plugin.

PHP class and method reference in the crontab.xml

Parent menu item reference in the menu.xml

Disabled observers in events.xml.

Line markers from a Test class to a Fixture file (integration and API functional tests)

Code completion for configs

Code completion for system.xml

and config.xml