Open
Description
Describe the bug (*)
In the current implementation the Inject a new View Model for this block
action can generate a view model for modules in the vendor directory.
To Reproduce (*)
Steps to reproduce the behaviour:
- Go to any 3rd party modules layout file in the vendor directory
- Open a context menu above the block declaration
- See the
Inject a new View Model for this block
action appeared - Click on the action
- See that view model is generated in the vendor module
Expected behaviour (*)
Action should not appear for vendor modules.
Screenshots
Please complete the following information: (*)
- OS: any
- PhpStorm/Intellij version: any
- Plugin Version: 4.4.0 (any)
Additional context
Mainline branch: 4.4.1-develop