@@ -0,0 +1,2239 @@
+package fr.adrienbrault.idea.symfony2plugin.external.toolbox.provider;%0A%0Aimport com.intellij.codeInsight.lookup.LookupElement;%0Aimport com.intellij.psi.PsiElement;%0Aimport de.espend.idea.php.toolbox.completion.dict.PhpToolboxCompletionContributorParameter;%0Aimport de.espend.idea.php.toolbox.extension.PhpToolboxProviderAbstract;%0Aimport de.espend.idea.php.toolbox.navigation.dict.PhpToolboxDeclarationHandlerParameter;%0Aimport de.espend.idea.php.toolbox.provider.presentation.ProviderPresentation;%0Aimport fr.adrienbrault.idea.symfony2plugin.Symfony2Icons;%0Aimport fr.adrienbrault.idea.symfony2plugin.config.component.ParameterLookupElement;%0Aimport fr.adrienbrault.idea.symfony2plugin.dic.ContainerParameter;%0Aimport fr.adrienbrault.idea.symfony2plugin.stubs.ContainerCollectionResolver;%0Aimport org.jetbrains.annotations.NotNull;%0Aimport org.jetbrains.annotations.Nullable;%0A%0Aimport javax.swing.*;%0Aimport java.util.*;%0A%0A/**%0A * @author Daniel Espendiller %3Cdaniel@espendiller.net%3E%0A */%0Apublic class ServiceParameterToolboxProvider extends PhpToolboxProviderAbstract %7B%0A    @NotNull%0A    @Override%0A    public Collection%3CLookupElement%3E getLookupElements(@NotNull PhpToolboxCompletionContributorParameter parameter) %7B%0A%0A        List%3CLookupElement%3E results = new ArrayList%3CLookupElement%3E();%0A%0A        for(Map.Entry%3CString, ContainerParameter%3E entry: ContainerCollectionResolver.getParameters(parameter.getProject()).entrySet()) %7B%0A            results.add(new ParameterLookupElement(entry.getValue()));%0A        %7D%0A%0A        return results;%0A    %7D%0A%0A    @NotNull%0A    @Override%0A    public Collection%3CPsiElement%3E getPsiTargets(@NotNull PhpToolboxDeclarationHandlerParameter parameter) %7B%0A        return Collections.emptyList();%0A    %7D%0A%0A    @NotNull%0A    @Override%0A    public String getName() %7B%0A        return %22symfony.parameters%22;%0A    %7D%0A%0A    @Nullable%0A    @Override%0A    public ProviderPresentation getPresentation() %7B%0A        return new ProviderPresentation() %7B%0A            @Nullable%0A            @Override%0A            public Icon getIcon() %7B%0A                return Symfony2Icons.PARAMETER;%0A            %7D%0A%0A            @Nullable%0A            @Override%0A            public String getDescription() %7B%0A                return %22Container parameter%22;%0A            %7D%0A        %7D;%0A    %7D%0A%7D%0A

add parameter toolbox provider