idea-plugin / arrow.meta.ide.dsl.editor.usage / UsageSyntax

UsageSyntax

interface UsageSyntax

Functions

addFindUsagesHandlerFactory open fun IdeMetaPlugin.addFindUsagesHandlerFactory(findUsagesHandler: (element: PsiElement, forHighlightUsages: Boolean) -> FindUsagesHandler?, canFindUsages: (element: PsiElement) -> Boolean): ExtensionPhase
addImportFilteringRule A filtering rule that allows you to exclude imports from actions such as “find usages”open fun IdeMetaPlugin.addImportFilteringRule(isVisible: (usage: Usage, targets: Array<out UsageTarget>) -> Boolean): ExtensionPhase
addUsageTypeProvider open fun IdeMetaPlugin.addUsageTypeProvider(f: (psiElement: PsiElement) -> UsageType?): ExtensionPhase
findUsagesHandler Users may appreciate no calls to superopen fun UsageSyntax.findUsagesHandler(element: PsiElement, processElementUsages: (element: PsiElement, processor: Processor<UsageInfo>, options: FindUsagesOptions) -> Boolean = Noop.boolean3True, findReferencesToHighlight: (target: PsiElement, searchScope: SearchScope) -> MutableCollection<PsiReference> = { _, _ -> emptyList<PsiReference>().toMutableList() }, primaryElements: Array<PsiElement> = PsiElement.EMPTY_ARRAY, secondaryElements: Array<PsiElement> = PsiElement.EMPTY_ARRAY, findUsagesDialog: (isSingleFile: Boolean, toShowInNewTab: Boolean, mustOpenInNewTab: Boolean) -> AbstractFindUsagesDialog? = Noop.nullable3(), processUsagesInText: (element: PsiElement, processor: Processor<UsageInfo>, searchScope: GlobalSearchScope) -> Boolean? = Noop.nullable3()): FindUsagesHandler

Inheritors

IdeSyntax interface IdeSyntax : IntentionSyntax, IconProviderSyntax, SyntaxHighlighterSyntax, InspectionSyntax, AnActionSyntax, ColorSettingsSyntax, HintingSyntax, LanguageSyntax, LineMarkerSyntax, LiveTemplateSyntax, NavigationSyntax, SearchSyntax, StructureViewSyntax, UsageSyntax, ExtensionProviderSyntax, DocumentationSyntax, KotlinExtensionSyntax, DialogSyntax, PopupSyntax, NotificationSyntax, ToolWindowSyntax, GotoRelatedSyntax, AnnotatorSyntax, ParserSyntax, ApplicationSyntax

Do you like Arrow?

Arrow Org
<