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

Create an observer for an event doesn't work through the context menu

Open DmitryFurs opened this issue 2 years ago • 4 comments

Describe the bug (*)

It is not possible to create an observer through the context menu

To Reproduce (*)

Steps to reproduce the behavior:

  1. Go to any class with dispatch method
  2. Click on event name
  3. Check missing "Create a Magento Observer" option

Expected behavior (*)

Should work like this https://github.com/magento/magento2-phpstorm-plugin/wiki/1.0.0-Release#create-an-observer-for-an-event

Screenshots

image

Please complete the following information: (*)

  • OS: MacOS
  • PhpStorm version: 2022.1
  • Plugin Version: 4.3.1

DmitryFurs avatar May 18 '22 13:05 DmitryFurs

Hi @DmitryFurs. Thank you for your report. To speed up processing of this issue, make sure that you provided sufficient information.

Add a comment to assign the issue: @magento I am working on this


m2-assistant[bot] avatar May 18 '22 13:05 m2-assistant[bot]

Hello, @DmitryFurs!

There are few restrictions for this action. It works in this release, but we can check if there is a bug. Please, attach code of this file here. Not like a screenshot.

Regards,

bohdan-harniuk avatar May 18 '22 15:05 bohdan-harniuk

Hello, @bohdan-harniuk!

This is class \Magento\Catalog\Model\ResourceModel\Product\Indexer\Eav\Decimal::_prepareIndex()

Is that enough for you?

DmitryFurs avatar May 18 '22 19:05 DmitryFurs

Hello, @DmitryFurs!

Yes, it is enough for me.

Thank you!

bohdan-harniuk avatar May 19 '22 07:05 bohdan-harniuk

@magento I am working on this

anzin avatar Sep 06 '22 08:09 anzin