diff --git a/platform/core-api/src/com/intellij/openapi/editor/DefaultLanguageHighlighterColors.java b/platform/core-api/src/com/intellij/openapi/editor/DefaultLanguageHighlighterColors.java index 01ab16562277..6869c2fa7b0b 100644 --- a/platform/core-api/src/com/intellij/openapi/editor/DefaultLanguageHighlighterColors.java +++ b/platform/core-api/src/com/intellij/openapi/editor/DefaultLanguageHighlighterColors.java @@ -74,6 +74,9 @@ public final class DefaultLanguageHighlighterColors { public static final TextAttributesKey AI_INLAY_BUTTON_HOVERED = TextAttributesKey.createTextAttributesKey("AI_INLAY_BUTTON_HOVERED"); public static final TextAttributesKey INLAY_BUTTON_HINT = TextAttributesKey.createTextAttributesKey("INLAY_BUTTON_HINT"); public static final TextAttributesKey INLAY_TEXT_WITHOUT_BACKGROUND = TextAttributesKey.createTextAttributesKey("INLAY_TEXT_WITHOUT_BACKGROUND"); + public static final TextAttributesKey KUBERNETES_INLAY_ERROR = TextAttributesKey.createTextAttributesKey("KUBERNETES_INLAY_ERROR"); + public static final TextAttributesKey KUBERNETES_INLAY_SUCCESS = TextAttributesKey.createTextAttributesKey("KUBERNETES_INLAY_SUCCESS"); + public static final TextAttributesKey KUBERNETES_INLAY_INTERMEDIATE = TextAttributesKey.createTextAttributesKey("KUBERNETES_INLAY_INTERMEDIATE"); public static final ColorKey INLINE_REFACTORING_SETTINGS_DEFAULT = ColorKey.createColorKey("INLINE_REFACTORING_SETTINGS_DEFAULT"); public static final ColorKey INLINE_REFACTORING_SETTINGS_FOCUSED = ColorKey.createColorKey("INLINE_REFACTORING_SETTINGS_FOCUSED"); public static final ColorKey INLINE_REFACTORING_SETTINGS_HOVERED = ColorKey.createColorKey("INLINE_REFACTORING_SETTINGS_HOVERED"); diff --git a/platform/ide-core/resources/messages/OptionsBundle.properties b/platform/ide-core/resources/messages/OptionsBundle.properties index 9da46aa798af..9ce012bc9544 100644 --- a/platform/ide-core/resources/messages/OptionsBundle.properties +++ b/platform/ide-core/resources/messages/OptionsBundle.properties @@ -76,6 +76,9 @@ options.java.attribute.descriptor.unmatched.brace=Code//Unmatched brace options.java.attribute.descriptor.bad.character=Bad character options.java.attribute.descriptor.annotation.name=Annotations//Annotation name options.java.attribute.descriptor.annotation.attribute.name=Annotations//Annotation attribute name +options.attribute.descriptor.inlay.hint.kubernetes.statuses.error=Inline hints//Kubernetes statuses//Error +options.attribute.descriptor.inlay.hint.kubernetes.statuses.success=Inline hints//Kubernetes statuses//Success +options.attribute.descriptor.inlay.hint.kubernetes.statuses.intermediate=Inline hints//Kubernetes statuses//Intermediate #Color descriptors options.general.color.descriptor.background.in.readonly.files=Text//Background in read-only files diff --git a/platform/lang-impl/src/com/intellij/codeInsight/hints/InlayProviderUsageCollector.kt b/platform/lang-impl/src/com/intellij/codeInsight/hints/InlayProviderUsageCollector.kt index 67df47894acf..ad33346f8d4a 100644 --- a/platform/lang-impl/src/com/intellij/codeInsight/hints/InlayProviderUsageCollector.kt +++ b/platform/lang-impl/src/com/intellij/codeInsight/hints/InlayProviderUsageCollector.kt @@ -19,7 +19,7 @@ import com.intellij.openapi.project.Project private val LOG = logger() internal class InlayProviderUsageCollector : ProjectUsagesCollector() { - private val INLAY_CONFIGURATION_GROUP = EventLogGroup("inlay.configuration", 54) + private val INLAY_CONFIGURATION_GROUP = EventLogGroup("inlay.configuration", 55) private val GLOBAL_SETTINGS_EVENT = INLAY_CONFIGURATION_GROUP.registerEvent( "global.inlays.settings", diff --git a/platform/lang-impl/src/com/intellij/openapi/options/colors/pages/DefaultLanguageColorsPage.java b/platform/lang-impl/src/com/intellij/openapi/options/colors/pages/DefaultLanguageColorsPage.java index c9f66c03692a..278ecb0eb8e4 100644 --- a/platform/lang-impl/src/com/intellij/openapi/options/colors/pages/DefaultLanguageColorsPage.java +++ b/platform/lang-impl/src/com/intellij/openapi/options/colors/pages/DefaultLanguageColorsPage.java @@ -205,7 +205,18 @@ public final class DefaultLanguageColorsPage implements RainbowColorSettingsPage new AttributesDescriptor( OptionsBundle.messagePointer("options.attribute.descriptor.inlay.hint.inlay.button.hovered"), DefaultLanguageHighlighterColors.INLAY_BUTTON_HOVERED), - + new AttributesDescriptor( + OptionsBundle.messagePointer("options.attribute.descriptor.inlay.hint.kubernetes.statuses.error"), + DefaultLanguageHighlighterColors.KUBERNETES_INLAY_ERROR + ), + new AttributesDescriptor( + OptionsBundle.messagePointer("options.attribute.descriptor.inlay.hint.kubernetes.statuses.success"), + DefaultLanguageHighlighterColors.KUBERNETES_INLAY_SUCCESS + ), + new AttributesDescriptor( + OptionsBundle.messagePointer("options.attribute.descriptor.inlay.hint.kubernetes.statuses.intermediate"), + DefaultLanguageHighlighterColors.KUBERNETES_INLAY_INTERMEDIATE + ), new AttributesDescriptor( OptionsBundle.messagePointer("options.attribute.descriptor.inlay.hint.text.without.background"), DefaultLanguageHighlighterColors.INLAY_TEXT_WITHOUT_BACKGROUND), diff --git a/platform/platform-resources/src/DefaultColorSchemesManager.xml b/platform/platform-resources/src/DefaultColorSchemesManager.xml index 74faca54f6b7..acb87510ab82 100644 --- a/platform/platform-resources/src/DefaultColorSchemesManager.xml +++ b/platform/platform-resources/src/DefaultColorSchemesManager.xml @@ -577,6 +577,24 @@ + + + + + + + + +