mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[devkit] UnregisteredNameColorInspection: link to SDK docs "Exposing Theme Metadata"
This commit is contained in:
+1
-1
@@ -215,7 +215,7 @@ inspections.presentation.cannot.resolve.icon=Cannot resolve icon ''{0}''
|
||||
inspections.plugin.xml.invalid.order.attribute=Invalid 'order' attribute value
|
||||
invalid.order.attribute.part=Invalid ''order'' attribute value part: ''{0}'', must be ''first'', ''last'', ''before <id>'' or ''after <id>''
|
||||
|
||||
inspections.unregistered.named.color=Named color key ''{0}'' is not registered in <code>*.themeMetadata.json</code>
|
||||
inspections.unregistered.named.color=<html>Named color key ''{0}'' is not registered in <code>*.themeMetadata.json</code> (<a href="https://www.jetbrains.org/intellij/sdk/docs/reference_guide/ui_themes/themes_metadata.html">Documentation</a>)</html>
|
||||
|
||||
ant.build.jar.comment=Build archive for plugin ''{0}''
|
||||
ant.build.jar.description=Build plugin archive for module ''{0}''
|
||||
|
||||
+1
-1
@@ -11,7 +11,7 @@ class UnregisteredNamedColorInspectionTest : UnregisteredNamedColorInspectionTes
|
||||
class InspectionTest {
|
||||
public void smth() {
|
||||
JBColor.namedColor("${knownNamedColor}", 0xcdcdcd);
|
||||
JBColor.<warning descr="Named color key 'NotRegisteredKey' is not registered in '*.themeMetadata.json'">namedColor</warning>("NotRegisteredKey", 0xcdcdcd);
|
||||
JBColor.<warning descr="Named color key 'NotRegisteredKey' is not registered in '*.themeMetadata.json' (Documentation)">namedColor</warning>("NotRegisteredKey", 0xcdcdcd);
|
||||
}
|
||||
}
|
||||
""".trimIndent())
|
||||
|
||||
+1
-1
@@ -12,7 +12,7 @@ class KtUnregisteredNamedColorInspectionTest : UnregisteredNamedColorInspectionT
|
||||
class InspectionTest {
|
||||
fun smth() {
|
||||
JBColor.namedColor("${knownNamedColor}", 0xcdcdcd)
|
||||
JBColor.<warning descr="Named color key 'NotRegisteredKey' is not registered in '*.themeMetadata.json'">namedColor</warning>("NotRegisteredKey", 0xcdcdcd)
|
||||
JBColor.<warning descr="Named color key 'NotRegisteredKey' is not registered in '*.themeMetadata.json' (Documentation)">namedColor</warning>("NotRegisteredKey", 0xcdcdcd)
|
||||
}
|
||||
}
|
||||
""".trimIndent())
|
||||
|
||||
Reference in New Issue
Block a user