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 fails for vendor templates #180

Closed
stof opened this issue Nov 12, 2013 · 8 comments
Closed

GoTo template fails for vendor templates #180

stof opened this issue Nov 12, 2013 · 8 comments
Labels

Comments

@stof
Copy link
Contributor

stof commented Nov 12, 2013

For templates provided by vendor packages, the GoTo fails.

to test it, use the following template in a Symfony2 project:

{% extends 'form_div_layout.html.twig' %}

{# imagine we have some form theming stuff here #}

form_div_layout.html.twig is available in the Twig bridge and the path is registered by TwigBundle.
Note that the path itself is properly detected by the plugin as it appears in the settings in the list of Twig paths

@Haehnchen
Copy link
Owner

also checked see #181

@stof
Copy link
Contributor Author

stof commented Nov 17, 2013

this occured for me since the update to PhpStorm 7, and the folder is registered properly in the list of templates. I think it is related to the fact that enabled the composer integration in a project now marks the vendor folders as libraries instead of being considered as project files

@stof
Copy link
Contributor Author

stof commented Nov 18, 2013

@Haehnchen why is it tagged as invalid ?

@Haehnchen
Copy link
Owner

same as #181 "Invalidate Cache" can u recheck?

11

@stof
Copy link
Contributor Author

stof commented Nov 19, 2013

I checked again. and do you have the composer integration enabled in your project ? as said in my previous comment, I think it is related to the way the composer integration changed between PhpStorm 6 and 7

@Haehnchen
Copy link
Owner

it looks like its related to phpstorm eap7

@stof
Copy link
Contributor Author

stof commented Dec 11, 2013

phpstorm 7 is not an EAP anymore :)

@Haehnchen
Copy link
Owner

there is a already a new eap :)

Haehnchen added a commit that referenced this issue Dec 28, 2013
…hpstorm 7.1, use another FileBasedIndex collection #180
Haehnchen added a commit that referenced this issue Dec 28, 2013
@stof stof closed this as completed Jan 14, 2014
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