Skip to content
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

Goto template does not work anymore in strings outside render() calls #450

Closed
stof opened this issue Mar 5, 2015 · 3 comments
Closed

Goto template does not work anymore in strings outside render() calls #450

stof opened this issue Mar 5, 2015 · 3 comments

Comments

@stof
Copy link
Contributor

stof commented Mar 5, 2015

In older versions of the bundle, any string containing a Twig template name was clickable to go to the template. But this does not work anymore.

In my current project, I have lots of places impacted by that, because I have a bunch of protected methods returning a template name (and then, a child class overwrites these methods to provide a mobile version of the template while the business logic is the same).

    protected function getThreadTemplate()
    {
        return 'WebBundle:Space\Discussion:thread.html.twig';
    }

It would be great to support "Goto template" again in this case. It was very handy.

@Haehnchen
Copy link
Owner

PhpStorm9 eap issue. possible issue with new "Language Injections"

@stof
Copy link
Contributor Author

stof commented Mar 27, 2015

This is on PhpStorm 8.0.3, not on the PhpStorm 9 eap

@Haehnchen
Copy link
Owner

thx, yes api break definitely inside 8.0.3, in 8.0.2 all is working fine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants