idea-php-drupal-symfony2-bridge
idea-php-drupal-symfony2-bridge copied to clipboard
PhpStorm plugin to support Symfony components inside Drupal 8
After last update of Symfony plugin (version 0.16.163 on PhpStorm 2017.3.2, Drupal Symfony version 0.5.1) I have gotten this error right at the IDE start:  ```fr.adrienbrault.idea.symfony2plugin.templating.TwigPattern.getTranslationPattern([Ljava/lang/String;)Lcom/intellij/patterns/ElementPattern; java.lang.NoSuchMethodError: fr.adrienbrault.idea.symfony2plugin.templating.TwigPattern.getTranslationPattern([Ljava/lang/String;)Lcom/intellij/patterns/ElementPattern; at...
``` regions: navigation: 'Navigation' navigation_collapsible: 'Navigation (Collapsible)' ```
``` * @see template_preprocess_page() * @see html.html.twig ```
There is a lot of parameters that may be present in themename.info.yml file. It will be useful to have completion for them. https://www.drupal.org/docs/8/theming-drupal-8/defining-a-theme-with-an-infoyml-file
At least on Mac, there is no File->Settings. Maybe it should be the Preferences -> Languages & Frameworks -> PHP -> Symfony? Also, if I enable it, I don't get...
In Symfony, there is a clickable green Twig icon which can appear in the right gutter of a PHP file, leading to the associated Twig template. This icon or functionality...
``` {% extends "@classy/block/block--system-menu-block.html.twig" %} ``` ``` core/themes/classy core/themes/stark themes/... ``` Think of "External Libraries" usage of core files
I'm seeing this sort of thing happening regularly with version 0.3.0 and Symfony Plugin 0.12.121 ``` Worker exited due to exception java.lang.NullPointerException at de.espend.idea.php.drupal.config.ConfigCompletionGoto$FormReferenceCompletionProvider$1.process(ConfigCompletionGoto.java:121) at de.espend.idea.php.drupal.config.ConfigCompletionGoto$FormReferenceCompletionProvider$1.process(ConfigCompletionGoto.java:107) at com.intellij.util.indexing.FileBasedIndexImpl$18.execute(FileBasedIndexImpl.java:1283) at gnu.trove.TIntHash.forEach(TIntHash.java:152)...
``` /** * @file * Bartik's theme implementation for comments. * * Available variables: * - author: Comment author. Can be a link or plain text. * - content: The...