[plugins] API cleanup: mark deprecated unused API for removal (IJPL-156972)

GitOrigin-RevId: f1b2c24f8eac7cdbc6024323e0849507c70450ec
This commit is contained in:
Nikolay Chashnikov
2024-10-10 20:45:21 +02:00
committed by intellij-monorepo-bot
parent df3e571577
commit 3e78ec9042
2 changed files with 3 additions and 1 deletions

View File

@@ -72,7 +72,7 @@ public final class CheckRegExpForm {
/**
* @deprecated Use {{@link Keys#CHECK_REG_EXP_EDITOR} instead.
*/
@Deprecated
@Deprecated(forRemoval = true)
public static final Key<Boolean> CHECK_REG_EXP_EDITOR = Keys.CHECK_REG_EXP_EDITOR;
public static final class Keys {

View File

@@ -3,6 +3,7 @@ package org.editorconfig
import com.intellij.openapi.application.ApplicationManager
import com.intellij.openapi.util.registry.Registry
import org.jetbrains.annotations.ApiStatus
import org.jetbrains.annotations.TestOnly
@Suppress("MemberVisibilityCanBePrivate")
@@ -12,6 +13,7 @@ object EditorConfigRegistry {
const val EDITORCONFIG_DOTNET_SUPPORT_KEY = "editor.config.csharp.support"
const val EDITORCONFIG_RESHARPER_SUPPORT_KEY = "editor.config.resharper.support"
@ApiStatus.ScheduledForRemoval
@Deprecated("Calling this C# is too narrow. Use EDITORCONFIG_DOTNET_SUPPORT_KEY instead",
ReplaceWith("EDITORCONFIG_DOTNET_SUPPORT_KEY", "org.editorconfig.EditorConfigRegistry.EDITORCONFIG_DOTNET_SUPPORT_KEY"))
const val EDITORCONFIG_CSHARP_SUPPORT_KEY = EDITORCONFIG_DOTNET_SUPPORT_KEY