for (ICompletionProposalProvider provider : ExtensionManager.getInstance().getProposalExtensions()) {
ProposalInfo proposalInfo = provider.createScriptCompletionProposal(proposal, this);
ImageDescriptor descriptor = provider.createTypeImageDescriptor(proposal);
if (proposalInfo != null) {
ScriptCompletionProposal twigProposal = generateTwigProposal(proposal, descriptor);
twigProposal.setProposalInfo(proposalInfo);
twigProposal.setRelevance(computeRelevance(proposal));
return twigProposal;
}
}
return super.createScriptCompletionProposal(proposal);