magento2-phpstorm-plugin icon indicating copy to clipboard operation
magento2-phpstorm-plugin copied to clipboard

Navigate to configuration (di.xml ) does not work correctly

Open DmitryFurs opened this issue 2 years ago • 1 comments

Describe the bug (*)

List of di.xml configurations for a class displays all classes that are nested in the namespace of the desired class. This makes it difficult to find real places where the desired class is used.

To Reproduce (*)

Steps to reproduce the behavior:

  1. Open the \Magento\Customer\Model\Session class

  2. Click on the di.xml icon in the gutter image

  3. The list opens image

  4. Click on different lines

  5. This opens the place where this class is used

  6. But this list also includes classes that start with the desired class

  7. Here we got to the class Magento\Customer\Model\Session\Storage although we were looking for a class Magento\Customer\Model\Session image

Expected behavior (*)

In the di.xml configuration list only configurations for the class you are looking for must be displayed.

Please complete the following information: (*)

  • OS: MacOS 12.6
  • PhpStorm version: 2022.2.3
  • Plugin Version: 4.4.0

DmitryFurs avatar Nov 17 '22 16:11 DmitryFurs