Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[Dltk-dev] what would be the best area to filter the doubles out of the completion engine?

In _javascript_ i constantly see double method names in the code completion
This is because i get 1 as a Method Declaration and another as a Method Reference.
Both have the same name in the end but the are in the internal sets and lists as 2 different kind of things.
The ScriptCompletionProcessor:
    protected List filterAndSortProposals(List proposals,
            IProgressMonitor monitor, ContentAssistInvocationContext context) {
        ProposalSorterRegistry.getDefault().getCurrentSorter().sortProposals(
                context, proposals);
        return proposals;
    }

would be a good place i think to first filter for doubles?

johan


Back to the top