com.intellij.lang.HelpID Java Examples

The following examples show how to use com.intellij.lang.HelpID. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: BuildFindUsagesProvider.java    From intellij with Apache License 2.0 5 votes vote down vote up
@Override
public String getHelpId(PsiElement psiElement) {
  if (psiElement instanceof FunctionStatement) {
    return "reference.dialogs.findUsages.method";
  }
  if (psiElement instanceof TargetExpression
      || psiElement instanceof Parameter
      || psiElement instanceof ReferenceExpression) {
    return "reference.dialogs.findUsages.variable";
  }
  // typically build rules and imported Skylark functions, but also all other function calls
  return HelpID.FIND_OTHER_USAGES;
}
 
Example #2
Source File: OclFindUsagesProvider.java    From reasonml-idea-plugin with MIT License 4 votes vote down vote up
@Nullable
@Override
public String getHelpId(@NotNull PsiElement psiElement) {
    return HelpID.FIND_OTHER_USAGES;
}
 
Example #3
Source File: RmlFindUsagesProvider.java    From reasonml-idea-plugin with MIT License 4 votes vote down vote up
@Nullable
@Override
public String getHelpId(@NotNull PsiElement psiElement) {
    return HelpID.FIND_OTHER_USAGES;
}
 
Example #4
Source File: YamlFindUsagesProvider.java    From intellij-swagger with MIT License 4 votes vote down vote up
@Nullable
@Override
public String getHelpId(@NotNull PsiElement psiElement) {
  return HelpID.FIND_OTHER_USAGES;
}
 
Example #5
Source File: ConceptStepFindUsagesProvider.java    From Intellij-Plugin with Apache License 2.0 4 votes vote down vote up
@Nullable
@Override
public String getHelpId(PsiElement psiElement) {
    return HelpID.FIND_OTHER_USAGES;
}
 
Example #6
Source File: SpecStepFindUsagesProvider.java    From Intellij-Plugin with Apache License 2.0 4 votes vote down vote up
@Nullable
@Override
public String getHelpId(PsiElement psiElement) {
    return HelpID.FIND_OTHER_USAGES;
}
 
Example #7
Source File: XQueryFindUsageProvider.java    From intellij-xquery with Apache License 2.0 4 votes vote down vote up
@Nullable
@Override
public String getHelpId(@NotNull PsiElement psiElement) {
    return HelpID.FIND_OTHER_USAGES;
}