From 185b0be76c8be5c2e1c81df9534b18d63c1691c2 Mon Sep 17 00:00:00 2001 From: Igor Yakovlev Date: Tue, 7 Apr 2020 23:14:11 +0300 Subject: [PATCH] Add constructors icon to ProjectView --- .../src/org/jetbrains/kotlin/idea/KotlinIconProvider.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/idea/idea-analysis/src/org/jetbrains/kotlin/idea/KotlinIconProvider.kt b/idea/idea-analysis/src/org/jetbrains/kotlin/idea/KotlinIconProvider.kt index b7c7b2d939d..8c998f253b3 100644 --- a/idea/idea-analysis/src/org/jetbrains/kotlin/idea/KotlinIconProvider.kt +++ b/idea/idea-analysis/src/org/jetbrains/kotlin/idea/KotlinIconProvider.kt @@ -113,6 +113,7 @@ class KotlinIconProvider : IconProvider(), DumbAware { else -> KotlinIcons.FUNCTION } + is KtConstructor<*> -> PlatformIcons.METHOD_ICON is KtFunctionLiteral -> KotlinIcons.LAMBDA is KtClass -> when { isInterface() -> KotlinIcons.INTERFACE