Haehnchen / idea-php-annotation-plugin

Add PHP annotation support for PhpStorm and IntelliJ
https://plugins.jetbrains.com/plugin/7320
MIT License
250 stars 41 forks source link

Doctrine: Generation of ORM indexes automatically #35

Open azatyan opened 9 years ago

azatyan commented 9 years ago

Add the way to generate ORM indexes with single click. Update indexes when clicked on generated indexes entity

@ORM\Index(name="index_name", columns={"field_name"})
@ORM\Index(name="second_index_name", columns={"other_field_name"})
// other indexes ...
Haehnchen commented 9 years ago

good idea. iam searching for the right syntax in different metadata all the time :)

azatyan commented 9 years ago

annotations are in official docs => http://docs.doctrine-project.org/projects/doctrine-orm/en/latest/reference/annotations-reference.html#annref-index (use with prefixed ORM\Index) and how can i help implement without Java skills ?))

Haehnchen commented 8 years ago

https://github.com/Haehnchen/idea-php-shopware-plugin/issues/30

azatyan commented 8 years ago

(y)

azatyan commented 8 years ago

@Haehnchen looks now you can implement it?