Skip to content

Commit d9d3cec

Browse files
committed
more annotation config
1 parent 9897255 commit d9d3cec

File tree

2 files changed

+18
-17
lines changed

2 files changed

+18
-17
lines changed
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
<idea-plugin url="https://www.jetbrains.com/idea">
2+
<extensions defaultExtensionNs="de.espend.idea.php.annotation">
3+
<PhpAnnotationReferenceProvider implementation="fr.adrienbrault.idea.symfony2plugin.twig.annotation.TemplateAnnotationReferences"/>
4+
<PhpAnnotationReferenceProvider implementation="fr.adrienbrault.idea.symfony2plugin.doctrine.DoctrineAnnotationTargetEntityReferences"/>
5+
<PhpAnnotationReferenceProvider implementation="fr.adrienbrault.idea.symfony2plugin.config.SymfonyAnnotationReferences"/>
6+
<PhpAnnotationReferenceProvider implementation="fr.adrienbrault.idea.symfony2plugin.doctrine.DoctrineAnnotationReferencedColumnReferences"/>
7+
<PhpAnnotationDocTagAnnotator implementation="fr.adrienbrault.idea.symfony2plugin.twig.annotation.TemplateAnnotationAnnotator"/>
8+
<PhpAnnotationDocTagGotoHandler implementation="fr.adrienbrault.idea.symfony2plugin.twig.annotation.TemplateAnnotationGotoHandler"/>
9+
10+
<!-- @IsGranted -->
11+
<PhpAnnotationReferenceProvider implementation="fr.adrienbrault.idea.symfony2plugin.security.IsGrantedAnnotationReferences"/>
12+
13+
<!-- @FooConstraint(message="sss") -->
14+
<PhpAnnotationReferenceProvider implementation="fr.adrienbrault.idea.symfony2plugin.translation.annotation.ConstraintMessageAnnotationReferences"/>
15+
<PhpAnnotationCompletionProvider implementation="fr.adrienbrault.idea.symfony2plugin.translation.annotation.ConstraintMessageAnnotationReferences"/>
16+
</extensions>
17+
</idea-plugin>

src/main/resources/META-INF/plugin.xml

Lines changed: 1 addition & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -623,29 +623,13 @@
623623
<depends>com.jetbrains.php</depends>
624624
<depends>com.intellij.modules.platform</depends>
625625
<depends>org.jetbrains.plugins.yaml</depends>
626-
<depends>de.espend.idea.php.annotation</depends>
626+
<depends config-file="annotation.xml">de.espend.idea.php.annotation</depends>
627627

628628
<depends config-file="dql.xml" optional="true" >com.jetbrains.php.dql</depends>
629629
<depends config-file="toolbox.xml" optional="true" >de.espend.idea.php.toolbox</depends>
630630
<depends config-file="deployment-aware.xml" optional="true" >com.jetbrains.plugins.webDeployment</depends>
631631
<depends config-file="pay.xml">com.jetbrains.php</depends>
632632

633-
<extensions defaultExtensionNs="de.espend.idea.php.annotation">
634-
<PhpAnnotationReferenceProvider implementation="fr.adrienbrault.idea.symfony2plugin.twig.annotation.TemplateAnnotationReferences"/>
635-
<PhpAnnotationReferenceProvider implementation="fr.adrienbrault.idea.symfony2plugin.doctrine.DoctrineAnnotationTargetEntityReferences"/>
636-
<PhpAnnotationReferenceProvider implementation="fr.adrienbrault.idea.symfony2plugin.config.SymfonyAnnotationReferences"/>
637-
<PhpAnnotationReferenceProvider implementation="fr.adrienbrault.idea.symfony2plugin.doctrine.DoctrineAnnotationReferencedColumnReferences"/>
638-
<PhpAnnotationDocTagAnnotator implementation="fr.adrienbrault.idea.symfony2plugin.twig.annotation.TemplateAnnotationAnnotator"/>
639-
<PhpAnnotationDocTagGotoHandler implementation="fr.adrienbrault.idea.symfony2plugin.twig.annotation.TemplateAnnotationGotoHandler"/>
640-
641-
<!-- @IsGranted -->
642-
<PhpAnnotationReferenceProvider implementation="fr.adrienbrault.idea.symfony2plugin.security.IsGrantedAnnotationReferences"/>
643-
644-
<!-- @FooConstraint(message="sss") -->
645-
<PhpAnnotationReferenceProvider implementation="fr.adrienbrault.idea.symfony2plugin.translation.annotation.ConstraintMessageAnnotationReferences"/>
646-
<PhpAnnotationCompletionProvider implementation="fr.adrienbrault.idea.symfony2plugin.translation.annotation.ConstraintMessageAnnotationReferences"/>
647-
</extensions>
648-
649633
<actions>
650634

651635
<action id="Symfony.Menu" class="fr.adrienbrault.idea.symfony2plugin.action.SymfonyContainerServiceBuilder">

0 commit comments

Comments
 (0)