From 12170a59b64686f4397a0a69871ae58afa58259f Mon Sep 17 00:00:00 2001 From: Phodal Huang Date: Thu, 4 Jul 2024 08:44:07 +0800 Subject: [PATCH] refactor(search): remove FkUsageTypeProvider implementation Removed FkUsageTypeProvider implementation from plugin.xml and deleted FkUsageTypeProvider.kt file. --- .../intellij/ide/search/FkUsageTypeProvider.kt | 15 --------------- src/main/resources/META-INF/plugin.xml | 1 - 2 files changed, 16 deletions(-) delete mode 100644 src/main/kotlin/com/feakin/intellij/ide/search/FkUsageTypeProvider.kt diff --git a/src/main/kotlin/com/feakin/intellij/ide/search/FkUsageTypeProvider.kt b/src/main/kotlin/com/feakin/intellij/ide/search/FkUsageTypeProvider.kt deleted file mode 100644 index d35a19a..0000000 --- a/src/main/kotlin/com/feakin/intellij/ide/search/FkUsageTypeProvider.kt +++ /dev/null @@ -1,15 +0,0 @@ -package com.feakin.intellij.ide.search - -import com.intellij.psi.PsiElement -import com.intellij.usages.UsageTarget -import com.intellij.usages.impl.rules.UsageType -import com.intellij.usages.impl.rules.UsageTypeProviderEx - -class FkUsageTypeProvider : UsageTypeProviderEx { - override fun getUsageType(element: PsiElement?, targets: Array): UsageType? = - getUsageType(element, UsageTarget.EMPTY_ARRAY) - - override fun getUsageType(element: PsiElement): UsageType? { - return null - } -} diff --git a/src/main/resources/META-INF/plugin.xml b/src/main/resources/META-INF/plugin.xml index 524b20e..2e53eff 100644 --- a/src/main/resources/META-INF/plugin.xml +++ b/src/main/resources/META-INF/plugin.xml @@ -105,7 +105,6 @@ -