Idea-php-symfony2-plugin: Find Usages on PHP-methods does not find them in twig files

Created on 15 Feb 2017  路  7Comments  路  Source: Haehnchen/idea-php-symfony2-plugin

I'm using Phpstorm 2016.3.2 and Symfony plugin 0.13.135.

I can Ctrl-click on object property {{ video.id }} in twig-file and jump to its definition in PHP-file:
public function getId() { ... }.

But when I run "Find Usages" on method Video::getId() I can't see the {{ video.id }} usage in twig file.

Most helpful comment

up

All 7 comments

Bump for this. Is it something doable? Useful when checking if method is used anywhere. Since this work the other way (clicking on method to navigate to declaration), inverse should be doable too, right?

Bump!

Agreed, this also makes renaming methods / attributes harder.

bump?

up

up

Happy to implement this if you can point me to the file that implements the reverse?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Haehnchen picture Haehnchen  路  7Comments

stephanvierkant picture stephanvierkant  路  3Comments

deivid11 picture deivid11  路  3Comments

Anubarak picture Anubarak  路  5Comments

Alexandre-T picture Alexandre-T  路  5Comments