Haehnchen / idea-php-symfony2-plugin

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

Check what we can do for Symfony flex #922

Open Haehnchen opened 7 years ago

Haehnchen commented 7 years ago
King2500 commented 7 years ago

Rename existing "Symfony" project template to "Symfony Standard Edition" and add "Symfony Flex" with selection of recipes ?

check required PHP version 7.1.

project based on symfony/skeleton: composer create-project symfony/skeleton:3.3.x-dev demo

recipes: https://github.com/symfony/recipes https://github.com/symfony/recipes-contrib

Symfony 4 demo: https://medium.com/@fabpot/symfony-4-a-quick-demo-da7d32be323

gharlan commented 7 years ago

A tip for flex users:

Add these two lines manually:

screenshot 2017-08-02 15 50 53

After that jumping between template and controller is working again. :)

But I couldn't find a workaround for goto-translation.

Koc commented 6 years ago

@Haehnchen does Symfony Flex projects properly detected and PS suggest to enable Symfony plugin?

Haehnchen commented 6 years ago

yes, in additional every single component will trigger it via: https://github.com/Haehnchen/idea-php-symfony2-plugin/commit/f1779090c3f118785d8f479a384359dc196c03b7

King2500 commented 6 years ago

I suggest checking the requirements in composer.json. The user might not directly use Symfony components but other libraries might require them (Symfony console is very wide-spread). So people might be confused why the Symfony plugin got enabled without them "using" Symfony components.

Haehnchen commented 6 years ago

Symfony console is very wide-spread

Thats the point. this plugin provides not only support for a Symfony fullstack application. there is for example also a console arguments completion. so we are moving away from this fullstacks

King2500 commented 6 years ago

Do you have an example of a third-party library which uses Symfony console and you profit from the plugin's features (indirectly)?