Skip to content

Commit

Permalink
add Parameter Hints for YAML and XML service arguments and dropping c…
Browse files Browse the repository at this point in the history
…aret text overlay #896
  • Loading branch information
Haehnchen committed Mar 26, 2017
1 parent a23b7ce commit 14efd5a
Show file tree
Hide file tree
Showing 13 changed files with 382 additions and 464 deletions.
6 changes: 3 additions & 3 deletions META-INF/plugin.xml
Original file line number Diff line number Diff line change
Expand Up @@ -396,6 +396,9 @@
<directoryProjectGenerator implementation="fr.adrienbrault.idea.symfony2plugin.installer.SymfonyInstallerProjectGenerator"/>
<projectTemplatesFactory implementation="fr.adrienbrault.idea.symfony2plugin.installer.SymfonyInstallerTemplatesFactory"/>

<codeInsight.parameterNameHints language="XML" implementationClass="fr.adrienbrault.idea.symfony2plugin.dic.ServiceArgumentParameterHintsProvider"/>
<codeInsight.parameterNameHints language="yaml" implementationClass="fr.adrienbrault.idea.symfony2plugin.dic.ServiceArgumentParameterHintsProvider"/>

<localInspection groupPath="Symfony" shortName="Symfony2PhpRouteMissingInspection" displayName="Route Missing"
groupName="Route"
enabledByDefault="true" level="WARNING"
Expand Down Expand Up @@ -638,9 +641,6 @@
<TwigNamespaceExtension implementation="fr.adrienbrault.idea.symfony2plugin.templating.path.BundleTwigNamespaceExtension"/>

<ServiceCollector implementation="fr.adrienbrault.idea.symfony2plugin.dic.DefaultServiceCollector"/>

<CaretTextOverlay implementation="fr.adrienbrault.idea.symfony2plugin.codeInsight.caret.overlay.provider.XmlServiceContainerCaretTextOverlay"/>
<CaretTextOverlay implementation="fr.adrienbrault.idea.symfony2plugin.codeInsight.caret.overlay.provider.YamlServiceContainerCaretTextOverlay"/>
</extensions>

<depends>com.jetbrains.twig</depends>
Expand Down

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ private void attachMethodInstances(PsiElement target, String serviceName, Method

}

public static int getArgumentIndex(XmlTag xmlTag) {
public static int getArgumentIndex(@NotNull XmlTag xmlTag) {

PsiElement psiElement = xmlTag;
int index = 0;
Expand Down
Loading

0 comments on commit 14efd5a

Please sign in to comment.