Package com.intellij.codeInsight.lookup.impl

Examples of com.intellij.codeInsight.lookup.impl.LookupImpl.itemPattern()


    new CodeCompletionHandlerBase(completionType, false, false, true).
        invokeCompletion(getProject(), getEditor(), time, false, false);
    LookupImpl lookup = (LookupImpl) LookupManager.getActiveLookup(getEditor());
    if (lookup == null) return null;
    return new CompleteResult(lookup.getItems().toArray(LookupElement.EMPTY_ARRAY),
        lookup.itemPattern(lookup.getItems().get(0)));
  }

  protected void completeLookupItem() {
    completeLookupItem(null, '\t');
  }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.