Examples of AutoPopupController


Examples of com.intellij.codeInsight.AutoPopupController

public class ErlangTypedHandler extends TypedHandlerDelegate {
  @Override
  public Result checkAutoPopup(char c, Project project, Editor editor, PsiFile file) {
    if (!(file instanceof ErlangFile)) return super.checkAutoPopup(c, project, editor, file);

    AutoPopupController autoPopupController = AutoPopupController.getInstance(project);
    if (c == ':') {
      autoPopupController.autoPopupMemberLookup(editor, null);
      return Result.STOP;
    }

    return super.checkAutoPopup(c, project, editor, file);
  }
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.