insperedia / yiidea-support

Other
2 stars 0 forks source link

Detect view files of template engines #5

Closed Sandritsch91 closed 5 months ago

Sandritsch91 commented 5 months ago

Thank you for updating this amazing plugin!

We use smarty as templating engine. It would be great if the plugin could detect if the view file exists as a .tpl or .twig etc.

image

image

Thanks again for your work, it makes working with yii2 so much easier!

insperedia commented 5 months ago

Did you tried to set in settings your templating language? Settings > Yii Framework Support > Views > Default View File Extension

insperedia commented 5 months ago

The plugin supports any extension. I think the problem is somewhere else. For example, there is a known bug with modules I am working with now. Please give a path to your controller and views from the root of the project.

Sandritsch91 commented 5 months ago

Did you tried to set in settings your templating language? Settings > Yii Framework Support > Views > Default View File Extension

Tried that, unfortunately it did not help

The plugin supports any extension. I think the problem is somewhere else. For example, there is a known bug with modules I am working with now. Please give a path to your controller and views from the root of the project.

It is a module in a separate repository, so maybe that is the same problem. Repository look like so:

Hope that helps. Greetings

insperedia commented 5 months ago

Thank you. this use case currently I am working on and update is in testing already. Stay tune for update. Current estimation - 1 week

Sandritsch91 commented 5 months ago

Nice, thanks again for your work

insperedia commented 5 months ago

Fixed in 1.0.8