[IDE] create KotlinLabelProviderService on request

getServiceIfCreated doesn't create a service instance if id wasn't
created before. There are no other service requests for
KotlinLabelProviderService, so it was not used for file types.

KTIJ-27755
This commit is contained in:
Pavel Kirpichenkov
2023-11-08 19:50:02 +02:00
committed by Space Team
parent 4d8cf4903c
commit b41c4bc4c1
@@ -13,6 +13,6 @@ abstract class KotlinLabelProviderService {
companion object {
fun getService(): KotlinLabelProviderService? =
ApplicationManager.getApplication().getServiceIfCreated(KotlinLabelProviderService::class.java)
ApplicationManager.getApplication().getService(KotlinLabelProviderService::class.java)
}
}