Codota Logo
CreateParameterInfoContext.setItemsToShow
Code IndexAdd Codota to your IDE (free)

How to use
setItemsToShow
method
in
com.intellij.lang.parameterInfo.CreateParameterInfoContext

Best Java code snippets using com.intellij.lang.parameterInfo.CreateParameterInfoContext.setItemsToShow (Showing top 4 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
List l =
  • Codota Iconnew LinkedList()
  • Codota IconCollections.emptyList()
  • Codota Iconnew ArrayList()
  • Smart code suggestions by Codota
}
origin: go-lang-plugin-org/go-lang-idea-plugin

@Override
public void showParameterInfo(@NotNull GoArgumentList argList, @NotNull CreateParameterInfoContext context) {
 PsiElement parent = argList.getParent();
 if (!(parent instanceof GoCallExpr)) return;
 GoFunctionType type = findFunctionType(((GoCallExpr)parent).getExpression().getGoType(null));
 if (type != null) {
  context.setItemsToShow(new Object[]{type});
  context.showHint(argList, argList.getTextRange().getStartOffset(), this);
 }
}
origin: neueda/jetbrains-plugin-graph-database-support

@Override
public void showParameterInfo(@NotNull CypherInvocation ci, @NotNull CreateParameterInfoContext context) {
  context.setItemsToShow(new Object[]{ci});
  context.showHint(ci, ci.getTextRange().getStartOffset(), this);
}
origin: Camelcade/Perl5-IDEA

@Nullable
@Override
public PsiPerlCallArgumentsImpl findElementForParameterInfo(@NotNull CreateParameterInfoContext context) {
 //		System.err.println("Find for create");
 PsiPerlCallArgumentsImpl callArguments = findCallArguments(context);
 if (callArguments != null) {
  PerlParameterInfo[] methodParameterInfos = getMethodCallArguments(callArguments);
  if (methodParameterInfos == null || methodParameterInfos.length == 0) {
   return null;
  }
  markActiveParameters(callArguments, methodParameterInfos, context.getOffset());
  context.setItemsToShow(methodParameterInfos);
 }
 return callArguments;
}
origin: liias/monkey

@Override
public void showParameterInfo(@NotNull MonkeyArguments monkeyArguments, @NotNull CreateParameterInfoContext context) {
 PsiElement parent = monkeyArguments.getParent();
 PsiElement prevSibling = parent.getPrevSibling();
 if (prevSibling instanceof MonkeyReferenceExpression) {
  MonkeyReferenceExpression referenceExpression = (MonkeyReferenceExpression) prevSibling;
  MonkeyFunctionDeclaration monkeyFunctionDeclaration = resolveCall(referenceExpression);
  if (monkeyFunctionDeclaration != null) {
   context.setItemsToShow(new Object[]{monkeyFunctionDeclaration});
   context.showHint(monkeyArguments, monkeyArguments.getTextRange().getStartOffset(), this);
  }
 }
}
com.intellij.lang.parameterInfoCreateParameterInfoContextsetItemsToShow

Popular methods of CreateParameterInfoContext

  • showHint
  • getOffset
  • getFile
  • getItemsToShow
  • getParameterListStart

Popular in Java

  • Making http post requests using okhttp
  • findViewById (Activity)
  • getSystemService (Context)
  • orElseThrow (Optional)
  • FlowLayout (java.awt)
    A flow layout arranges components in a left-to-right flow, much like lines of text in a paragraph. F
  • FileWriter (java.io)
    Convenience class for writing character files. The constructors of this class assume that the defaul
  • PrintStream (java.io)
    A PrintStream adds functionality to another output stream, namely the ability to print representatio
  • SimpleDateFormat (java.text)
    Formats and parses dates in a locale-sensitive manner. Formatting turns a Date into a String, and pa
  • Enumeration (java.util)
    A legacy iteration interface.New code should use Iterator instead. Iterator replaces the enumeration
  • ConcurrentHashMap (java.util.concurrent)
    A hash table supporting full concurrency of retrievals and adjustable expected concurrency for updat
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now