-
Notifications
You must be signed in to change notification settings - Fork 105
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
A lot of file templates are missing on new menu #861
Comments
Hi @AboElnoor. Thank you for your report. Add a comment to assign the issue:
|
Hello, @AboElnoor! Those files are generated during in the scope of listed on the first screenshot. As for an example, try to generate Magento 2 Entity. You will see, that it is generating not a single file, but more than 30 files. Those files are listed on the second screenshot that you provided in the ticket description. I hope, that it is clearly for you now. Thanks, Bohdan |
@AboElnoor, can I help you with anything else? If not, I will close this issue. |
@bohdan-harniuk But sometimes, I just need to use just one file. Regards, |
@AboElnoor but referenced by you features have nothing with it. They designed to generate Magento 2 related files by their purposes. You can read about file and code templates here https://www.jetbrains.com/help/idea/using-file-and-code-templates.html |
It seems that you want us to develop a lot of new generators. |
@AboElnoor, if you want, I can show you how to generate those files with the built in intellij idea feature file and code templates. |
@bohdan-harniuk I believe I can just duplicate those files to be available in the new files menu. If not, it's okay to close this issue. |
@AboElnoor, yes, as you know, it is easy to do what you want to achieve via IntelliJ Idea itself. So, there is no to add from the plugin side. If you have clear vision, how we can make it better, please, share it with us. We can implement it, if it will simplify usage and won't make it less convenient. |
You can share your concept here. |
@bohdan-harniuk I'm thinking about making standalone files available too. So don't you think it will be much work to do which violates the purpose of making the generators? So I think that some files need to be available out of groups too. for example, I can create a new file for web API XML, routes XML, DI XML, and all standalone files .. etc. |
@AboElnoor, it makes sense. I will try to do so. Let’s keep this issue open until I will create the concept for this improvement. |
@AboElnoor, I want to add, that you can create WEB API xml already. It doesn’t make sense to create an empty WEB API xml file, but you can declare new WEB API endpoint: https://github.com/magento/magento2-phpstorm-plugin/wiki/4.0.0-Release#web-api-declaration-generation |
@bohdan-harniuk Thanks for taking my request in your consideration. Regards, |
@magento I am working on this |
Hello, @SilinMykola! Let's use this code snippet: <group id="MagentoContextBasedActionsGroup" class="com.intellij.ide.actions.NonEmptyActionGroup" text="Context Actions" popup="false" compact="true" searchable="true">
<separator/>
<!-- Context dependent actions -->
<separator/>
<add-to-group group-id="NewGroup" anchor="before" relative-to-action="NewXml"/>
</group> To achieve similar output: Regards, |
Hello, @AboElnoor! We have started implementation of the requested feature. We will try to provide as many files as we can to this release. Regards, |
@bohdan-harniuk Thank you so much for taking my request into your consideration. Regards, |
Hello, @AboElnoor! Could you please help us to make a decision which files to add to the context actions group? We have already created tasks for the next files:
Thank you in advance! Regards, |
Hi @bohdan-harniuk! Sorry to interfere, but most likely it should be possible to generate almost all files that have their own xsd schema.
Thanks! |
Hello, @DmitryFurs! Thank you for your suggestions! Regards, |
Hello, @AboElnoor, @DmitryFurs! We have finished development here! Regards, |
Hi, @bohdan-harniuk Have those changes been released, I still see that individual files do not exist even when my extension version is 4.3.1 Regards |
Hi,
I'm using PHPStorm on Ubuntu 20.04.
And many file templates are not showing in the new file menu, despite it existing in the settings. (Screenshots attached)
This is all files that show up in the new file menu:

Some of those files are not showing in the new files menu, and many more:

Regards,
Mainline branch: 4.3.0-develop
The text was updated successfully, but these errors were encountered: