-
-
Notifications
You must be signed in to change notification settings - Fork 138
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
$this->render('xxxxxx') -> cannot find declaration to go to on (symfony 2.8) #2239
Comments
Complement : The classic annotation don't work any more : $this->render('ChaletmontagneAdminLoueurNewBundle:Biens/planning thanks . Mike |
I updated my whole project to the In case someone else also likes to do that here is my regular expression replace: Search: |
Great ! thanks !
De : Daniel Espendiller ***@***.***>
Envoyé : lundi 1 avril 2024 12:34
À : Haehnchen/idea-php-symfony2-plugin ***@***.***>
Cc : alpium ***@***.***>; Author ***@***.***>
Objet : Re: [Haehnchen/idea-php-symfony2-plugin] $this->render('xxxxxx') -> cannot find declaration to go to on (symfony 2.8) (Issue #2239)
you can also enable this "legacy feature":
image.png (view on web) <https://github.com/Haehnchen/idea-php-symfony2-plugin/assets/1011712/06921596-4085-4166-927b-aedf8aaf5d6d>
—
Reply to this email directly, view it on GitHub <#2239 (comment)> , or unsubscribe <https://github.com/notifications/unsubscribe-auth/AOWGY2FLPOLYYTXDOTWW5XTY3EZX3AVCNFSM6AAAAAA55JAFJWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMRZGU2TENBTGU> .
You are receiving this because you authored the thread. <https://github.com/notifications/beacon/AOWGY2C7HGZMCK6A7ZULORDY3EZX3A5CNFSM6AAAAAA55JAFJWWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTTY7CBTG.gif> Message ID: ***@***.*** ***@***.***> >
|
Hi,
One of my project is still in symfony 2 ..., and since severals weeks, unable to navigate on the routes with the render method : $this->render('myview...');
When CTRL + click on myview , i always have the message : cannot find declaration to go to
On an other project with symfony 5, it works perfectly ...
Plugin version : 2022.1.258 (full version)
PhpStorm version : 2023.2.2 (last)
It was ok before an update, i don't know if it's a PHPStorm update or a plugin update.
I tried to delete .idea/workspace.xml, I try to delete .idea/symfony2.xml
I note in the plugin / routing / parameters, if i click on "reset to default"
There is a list of path with are alls NOT FOUND
Ex : app/cache/dev/appDevUrlGenerator.php NOT FOUND
... all NOT FOUND
In my directory I have :
app/cache/dev/appDevDebugProjectContainerUrlGenerator.php
app/cache/dev/appDevDebugProjectContainerUrlMatcher.php
So i tried to install mannually this 2 path and restart the IDE
so i have :
app/cache/dev/appDevDebugProjectContainerUrlGenerator.php EXISTS
app/cache/dev/appDevDebugProjectContainerUrlMatcher.php EXISTS
but this not resolve the CTRL + Click navigation on Renders ...
Navigation CTRL + Click works well for :
function navigation, Routing Yml file to Controller, $this->generateUrl( ...
But not for the Render at end of a controller function ...
Any Idea ?
Thanks,
Mike
The text was updated successfully, but these errors were encountered: