congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
CreateParameterInfoContext.setItemsToShow
Code IndexAdd Tabnine 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)

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

  • Parsing JSON documents to java classes using gson
  • scheduleAtFixedRate (Timer)
  • onCreateOptionsMenu (Activity)
  • setRequestProperty (URLConnection)
  • BorderLayout (java.awt)
    A border layout lays out a container, arranging and resizing its components to fit in five regions:
  • BigDecimal (java.math)
    An immutable arbitrary-precision signed decimal.A value is represented by an arbitrary-precision "un
  • Executors (java.util.concurrent)
    Factory and utility methods for Executor, ExecutorService, ScheduledExecutorService, ThreadFactory,
  • Modifier (javassist)
    The Modifier class provides static methods and constants to decode class and member access modifiers
  • JButton (javax.swing)
  • JFileChooser (javax.swing)
  • Top 12 Jupyter Notebook extensions
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now