Closed
Description
Describe the bug (*)
When generating a controller the namespace is wrong, and the controller does not works.
To Reproduce (*)
Steps to reproduce the behavior:
- I create a module "Learn_ControllerIssue" in app/code
- Right click on the directory "ControllerIssue" then "New / Module File / Magento2 Controller"
- I fill the popin with the following data
- The generated namespace is Learn\ControllerIssue\ControllerDemo
- The controller does not works
Expected behavior (*)
The generated namespace should be Learn\ControllerIssue\Controller\Demo
The separation between the parent directory and the controller name is missing
Screenshots
If applicable, add screenshots to help explain your problem.
Please complete the following information: (*)
- OS: Ubuntu Linux 18.04
- PhpStorm/Intellij version: 2021.3
- Plugin Version: 4.2.1
Additional context
Add any other context about the problem here.