symfonyphpstormsymfony-flex

PhpStorm and Symfony plugin: completion in config YAML's in Flex layout


This week I updated a project to Symfony 4 and Flex.

It used to be that the PhpStorm Symfony plugin provided code completion in the app/config.yml file for all keys and sometimes values.

However, now that that file is split up in multiple files in config/packages, I am not getting any code completion anymore.

Is there something I am doing wrong, or is this not supported anymore?


Solution

  • Apparently it wasn't possible yet with the plugin, but I openend an issue on GitHub and the awesome developer fixed it very fast. See https://github.com/Haehnchen/idea-php-symfony2-plugin/issues/1344

    Note that currently there is still a small bug but seeing how fast he fixed the initial issue it will probably be fixed soon.