Haehnchen / idea-php-symfony2-plugin

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

No information about file shortcut #2280

Closed UtechtDustin closed 7 months ago

UtechtDustin commented 7 months ago

I often uses BinaryFileResponse's and every time i get the info message

Symfony: 'file' shortcut can be used 

But i don't know what this means, i also don't find any information about a file shortcut for symfony on google or on the documentation of symfony. At general it would be nice if we get a example how the improvement could look like.

Bildschirmfoto 2024-02-09 um 09 26 26

UtechtDustin commented 7 months ago

Found it, the file shortcut is the file function of the extended AbstractController.