Haehnchen / idea-php-symfony2-plugin

IntelliJ IDEA / PhpStorm Symfony Plugin
https://plugins.jetbrains.com/plugin/7219
MIT License
911 stars 137 forks source link

Fix conflicting Twig references from PhpStorm itself #2394

Open Haehnchen opened 1 month ago

Haehnchen commented 1 month ago

The core Twig provides partial navigation via references extension, is conflicting / ignoring navigation from this plugin. So for example if there are usages the navigation is handled by PhpStorm itself.

foobarBad is given navigation by this plugin, but is overwritting to jump to the if statement.

    {% if x.foobarBad != '' %}
            {{ x.foobarBad }}
            {{ x.foobarGood }}
    {% endif %}