You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Intellij IDEA supports module based projects. This means that IDEA project is like a namespace of phpstorms projects. And root of each module may be different to project root. But idea-php-symfony2-plugin works correctly only if symfony located in project root.
For example the project root is "/home/mtal/projects/sample". Inside project I created a module located at "/home/mtal/projects/sample/module" and put there symfony code. In Symfony2 Plugin settings I configured "Path to urlGenerator.php", "Translation Root Path", "App Directory", "Web Directory" correctly (added prefix "sample/" to default values). But after enabling plugin and restarting IDE I got a warning "Symfony2 Plugin: missing at least one container file". The plugin works incorrectly. The errors of missing assets appears and root templates appears in code, the symfony framework for plugin controllers (for example 'form.factory') are missing to.
I suggest to add a new option "Symfony root" in settings dialog to solve this problem.
The text was updated successfully, but these errors were encountered:
do you know a simple tutorial / doc on that?
not only the path is a problem, whats about eg the module container config. its per "module" than and not per "project". which is similar to a file scope mentioned in #13
Intellij IDEA supports module based projects. This means that IDEA project is like a namespace of phpstorms projects. And root of each module may be different to project root. But idea-php-symfony2-plugin works correctly only if symfony located in project root.
For example the project root is "/home/mtal/projects/sample". Inside project I created a module located at "/home/mtal/projects/sample/module" and put there symfony code. In Symfony2 Plugin settings I configured "Path to urlGenerator.php", "Translation Root Path", "App Directory", "Web Directory" correctly (added prefix "sample/" to default values). But after enabling plugin and restarting IDE I got a warning "Symfony2 Plugin: missing at least one container file". The plugin works incorrectly. The errors of missing assets appears and root templates appears in code, the symfony framework for plugin controllers (for example 'form.factory') are missing to.
I suggest to add a new option "Symfony root" in settings dialog to solve this problem.
The text was updated successfully, but these errors were encountered: