Examples of ErlangIntroduceMacroQuickFix


Examples of org.intellij.erlang.quickfixes.ErlangIntroduceMacroQuickFix

        ErlangMacrosName macrosName = o.getMacrosName();
        if (macrosName == null) return;
        if (ErlangPsiImplUtil.KNOWN_MACROS.contains(macrosName.getText())) return;
        PsiReference reference = o.getReference();
        if (reference != null && reference.resolve() == null) {
          holder.registerProblem(o, "Unresolved macros " + "'" + o.getText() + "'", new ErlangIntroduceMacroQuickFix());
        }
      }
    };
  }
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.