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
Now the bundle gets symlinked into vendor, the paths are added to Symfony > Twig / Template correctly. But the inspection is showing that the template can't be found.
In Windows, this works properly, in WSL, it gives an error. Even when manually adding the path to /vendor/<package>/templates it does not show up, no matter if I add it as ADD_PATH, BUNDLE, or anything. It seems like the inspection just doesn't follow symlinks or look outside of the project directory.
Bundles that are not installed using symlink do work properly.
Real world:
doctrine, web profiler,... work as expected, the highlighted ones are symlinked and do not work. The path is also wrong, the path should be /home/developer/forumify-platform/templates, it added the vendor dir to it which does not exist (path in composer.json is not respected)
When trying to enter the full path (\\wsl.localhost\Ubuntu\home\developer\...) it crashes the template settings (blank table) and I have to reset the configuration.
The text was updated successfully, but these errors were encountered:
To reproduce:
Install a Symfony bundle using composer from a local repository.
Now the bundle gets symlinked into
vendor
, the paths are added to Symfony > Twig / Template correctly. But the inspection is showing that the template can't be found.In Windows, this works properly, in WSL, it gives an error. Even when manually adding the path to
/vendor/<package>/templates
it does not show up, no matter if I add it as ADD_PATH, BUNDLE, or anything. It seems like the inspection just doesn't follow symlinks or look outside of the project directory.Bundles that are not installed using symlink do work properly.
Real world:
doctrine, web profiler,... work as expected, the highlighted ones are symlinked and do not work. The path is also wrong, the path should be
/home/developer/forumify-platform/templates
, it added the vendor dir to it which does not exist (path in composer.json is not respected)When trying to enter the full path (
\\wsl.localhost\Ubuntu\home\developer\...
) it crashes the template settings (blank table) and I have to reset the configuration.The text was updated successfully, but these errors were encountered: