question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Find Usages on PHP-methods does not find them in twig files

See original GitHub issue

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.

Issue Analytics

  • State:open
  • Created 7 years ago
  • Reactions:25
  • Comments:7

github_iconTop GitHub Comments

3reactions
tatenencommented, Jul 31, 2019

up

1reaction
druidvavcommented, Aug 21, 2019

up

Read more comments on GitHub >

github_iconTop Results From Across the Web

Symfony does not search in bundle for twig files - Stack Overflow
I was just missing an 's' to Email, as my folder was named Emails. So make sure that the specified template path does...
Read more >
Twig Templates | IntelliJ IDEA Documentation - JetBrains
Press Ctrl+Alt+S to open the IDE settings and select Plugins. · Switch to the Marketplace tab and use the search field to find...
Read more >
Twig in Drupal | Theming Drupal
When working with a Twig template file most variables are documented in the comments for the template file. However, when they are not,...
Read more >
Additional Twig & PHP Methods | Google Maps plugin for Craft ...
Regardless of whether you are using Twig or PHP, this will create a new Twig\Markup object. If you are working in Twig, you...
Read more >
The flexible, fast, and secure template engine for PHP - Twig
This chapter describes the API to Twig and not the template language. ... This loader can find templates in folders on the file...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found