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

Incorrect resolution of twig template if it contains slashes #182

Closed
shoomyth opened this issue Nov 18, 2013 · 1 comment
Closed

Incorrect resolution of twig template if it contains slashes #182

shoomyth opened this issue Nov 18, 2013 · 1 comment
Labels

Comments

@shoomyth
Copy link

Resolution doesn't work with the following notation:
{% extends 'MyBundle::_layout/content/profile.html.twig' %}
Says "Missing template"

If I change to
{% extends 'MyBundle:_layout:content/profile.html.twig' %}
"Missing" message disappears, but ctrl+mouseover throws an exception:

Null target element is returned by fr.adrienbrault.idea.symfony2plugin.templating.TwigTemplateGoToDeclarationHandler

If I change to
{% extends 'MyBundle:_layout/content:profile.html.twig' %}
it works, but on ctrl+mouseover there are 2 underlined parts - one before slash and the second after slash

phpstorm 131.487, plugin 0.10.32

@Haehnchen
Copy link
Owner

fixed. last issue is a normal phpstorm behavior

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

No branches or pull requests

2 participants