[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:
committed by
Space Team
parent
4d8cf4903c
commit
b41c4bc4c1
+1
-1
@@ -13,6 +13,6 @@ abstract class KotlinLabelProviderService {
|
||||
|
||||
companion object {
|
||||
fun getService(): KotlinLabelProviderService? =
|
||||
ApplicationManager.getApplication().getServiceIfCreated(KotlinLabelProviderService::class.java)
|
||||
ApplicationManager.getApplication().getService(KotlinLabelProviderService::class.java)
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user