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

Autocompletion on constant twig macro #869

Closed
ghost opened this issue Feb 10, 2017 · 0 comments
Closed

Autocompletion on constant twig macro #869

ghost opened this issue Feb 10, 2017 · 0 comments
Labels

Comments

@ghost
Copy link

ghost commented Feb 10, 2017

I'm using Phpstorm 2016.3.2 and Symfony plugin 0.13.135.

The autocompletion for constant macro works with if : {% if appointment.status == constant('AppBundle\\Document\\Appointment::STATUS_ACCEPTED') %} (STATUS_ACCEPTED completion)

But does not work when it's an elseif : {% elseif appointment.status == constant('AppBundle\\Document\\Appointment::STATUS_REFUSED') %}

P.S. : same for goto def.

Haehnchen added a commit that referenced this issue Feb 12, 2017
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

1 participant