Atwix / phpstorm-plugin-feedback

6 stars 0 forks source link

[New feature] Template hints in xml files and a go directly to template #7

Closed m2itester closed 1 year ago

m2itester commented 1 year ago

In the example code below:

<page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      layout="1column"
      xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd"
>
    <body>
        <referenceContainer name="content">
            <block class="Vendor\Module\Block\Order"
                   name="custom"
                   template="Vendor_Module::order/default.phtml"
            />
        </referenceContainer>
    </body>
</page>

It would be nice if it would suggest available templates for Vendor_Module.

Additionally, a cool option would be the ability to go straight to the default.phtml file.

bohdan-harniuk commented 1 year ago

Hello, @m2itester! Great idea! We'll implement it surely! Thank you!

bohdan-harniuk commented 1 year ago

Hello, @m2itester!

Please, update your plugin version to the 2023.2.0. We've implemented mentioned here functionality in it. Feel free to request more features.

Regards,