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

Easier navigation through plugins

Open DmitryFurs opened this issue 4 years ago • 4 comments

Is your feature request related to a problem? Please describe.

At the moment, we can see the list of plugins for the method by clicking on the icon in the gutter. But if there are a lot of these plugins, the navigation between them is very confusing, because if we need to do something, we have to click on this icon many times, then select the desired plugin, set the breakpoint, then we need to go back to the main method and continue to perform this routine by selecting a plugin from the list. And since sometimes there are a lot of plugins, we can also miss some plugin. It also seems to me that the plugins are sorted in an unpredictable order.

image

record

Describe the solution you'd like (*)

It would be very convenient if two new icons were added near to the plugin icon: the previous one and the next plugin. When we click on them, we would jump to the corresponding plugin according to the priority rules. Also, the main list of plugins should be sorted according to the rules specified here https://devdocs.magento.com/guides/v2.4/extension-dev-guide/plugins.html#prioritizing-plugins

image

I would also like you to add their type (before, after, or around) next to the list of plugins. This will help devs choose the right plugin faster. And if the same plugin class contains several different plugins, then each plugin must have a separate line.

image

DmitryFurs avatar Dec 01 '20 11:12 DmitryFurs

Hi @DmitryFurs. Thank you for your report. To help us process this issue please make sure that you provided sufficient information.

Please, add a comment to assign the issue: @magento I am working on this


m2-assistant[bot] avatar Dec 01 '20 11:12 m2-assistant[bot]

@magento I am working on this

bohdan-harniuk avatar Jan 13 '21 09:01 bohdan-harniuk

@magento I am working on this

korovitskyi avatar Feb 18 '22 13:02 korovitskyi

Hello, @korovitskyi!

Do we have any progress here?

Regards,

bohdan-harniuk avatar Mar 19 '22 11:03 bohdan-harniuk

https://github.com/magento/magento2-phpstorm-plugin/pull/1121

bohdan-harniuk avatar Aug 23 '22 10:08 bohdan-harniuk