-
-
Notifications
You must be signed in to change notification settings - Fork 136
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
asset() autocompletion fails in PHPStorm 2017.3 #1118
Comments
As an extra note, neither clearing project's cache nor Symfony plugin's cache helps :(
Symfony plugin 0.15.162 |
sry, ... but back in the game also improved performance a lot ;) |
Seems nicely fixed with version 0.15.163. Thanks. 👍 It is one of the 🔑 plugins to develop Symfony with PhpStorm 😄 |
This same (mis)behavior -- report of
and
Plugins uninstall/reinstall seems to make no difference. Assuming I've not missed something, not sure if you want to reopen here, or open as a new bug. |
the latest version, just found it and wanted to delete the comment :) |
Yes, I think... In the last screenshot I was working in a 3.x project |
have you tried to rebuild the cache ? |
@cybernet Yes, I totally removed var/cache also but didn't work |
your problem is with phpstorm, not symfony, therefore, have you cleaned your PHPStorm cache ? under symfony tab you have clear index |
@cybernet Yes I did but stil the same :/ ---edited---
In plugin settings I tried configure directory with |
@nicraMarcin Symfony 3+: Symfony 4+: And... always clear the index :) Maybe you should also clear the PHPStorm cache. |
@NickTick Yes, I cleared the index and tried set directories with leading |
How to clear cache for PHPStorm? |
Yes, I did, but this didn't help as well. |
After everything above, this is what solve the problem for me: Clicked that button, software indexed the project, and I got my sanity and autocomplete back. |
I am using Symfony 3.4.1. In twig templates, it is not suggesting resources in public directory anymore whilst using
{{ asset('abc.jpg') }}
. It saysMissing asset...
yet it renders correctly when we display it on browsers.This is my
framework.yaml
:This is my PHPStorm version:
Any idea how to gain autocompletion back? Because we love it 💯 percent 😄
The text was updated successfully, but these errors were encountered: