mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[symbol] impl: rename EP symbolUsagesHandler to symbolUsageHandler
GitOrigin-RevId: a5077217dd90591fec71f0dead195f06c5039477
This commit is contained in:
committed by
intellij-monorepo-bot
parent
08e9fb2414
commit
ca0f7587db
@@ -9,7 +9,7 @@ import org.jetbrains.annotations.Nullable;
|
||||
import static org.jetbrains.annotations.ApiStatus.OverrideOnly;
|
||||
|
||||
/**
|
||||
* Implement this interface and register as {@code com.intellij.lang.symbolUsagesHandler} extension
|
||||
* Implement this interface and register as {@code com.intellij.lang.symbolUsageHandler} extension
|
||||
* to customize search options and/or search query for the symbol.
|
||||
*
|
||||
* @see SymbolTextSearcher
|
||||
|
||||
@@ -10,7 +10,7 @@ import com.intellij.openapi.util.ClassExtension
|
||||
import com.intellij.usages.Usage
|
||||
import com.intellij.util.Query
|
||||
|
||||
private val EXTENSION = ClassExtension<SymbolUsageHandlerFactory<*>>("com.intellij.lang.symbolUsagesHandler")
|
||||
private val EXTENSION = ClassExtension<SymbolUsageHandlerFactory<*>>("com.intellij.lang.symbolUsageHandler")
|
||||
|
||||
internal fun Symbol.createUsageHandler(project: Project): UsageHandler<*> {
|
||||
for (factory in EXTENSION.forKey(this.javaClass)) {
|
||||
|
||||
@@ -313,7 +313,7 @@
|
||||
|
||||
<extensionPoint name="navbar" interface="com.intellij.ide.navigationToolbar.NavBarModelExtension" dynamic="true"/>
|
||||
|
||||
<extensionPoint name="lang.symbolUsagesHandler" dynamic="true" beanClass="com.intellij.openapi.util.ClassExtensionPoint">
|
||||
<extensionPoint name="lang.symbolUsageHandler" dynamic="true" beanClass="com.intellij.openapi.util.ClassExtensionPoint">
|
||||
<with attribute="forClass" implements="com.intellij.model.Symbol"/>
|
||||
<with attribute="implementationClass" implements="com.intellij.find.usages.SymbolUsageHandlerFactory"/>
|
||||
</extensionPoint>
|
||||
|
||||
Reference in New Issue
Block a user