Haehnchen / idea-php-symfony2-plugin

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

Support YAML inline services #2289

Open Bilge opened 6 months ago

Bilge commented 6 months ago

One very cool, but little known and poorly documented Symfony feature, is the ability to inline services in YAML. If a service is only going to be defined and consumed in one place, it can be inlined. This feature is officially called anonymous services and hidden away in a subsection of a document that has nothing to do with anonymous services.

Sadly, this plug-in does not support anonymous services or service inlining with code completion for the inlined service, as it does for non-inlined services.