From 8db3b40a0e82ff0847d078cf496dfd6edc1464a5 Mon Sep 17 00:00:00 2001 From: Simon Ogorodnik Date: Wed, 7 Mar 2018 22:42:55 +0300 Subject: Bind language service back --- core/src/main/kotlin/Formats/FormatDescriptor.kt | 3 +++ 1 file changed, 3 insertions(+) (limited to 'core/src') diff --git a/core/src/main/kotlin/Formats/FormatDescriptor.kt b/core/src/main/kotlin/Formats/FormatDescriptor.kt index a1120c00..b497fb0f 100644 --- a/core/src/main/kotlin/Formats/FormatDescriptor.kt +++ b/core/src/main/kotlin/Formats/FormatDescriptor.kt @@ -26,6 +26,7 @@ abstract class FileGeneratorBasedFormatDescriptor : FormatDescriptor { bind() toType NodeLocationAwareGenerator::class bind() toType generatorServiceClass + bind() toType languageServiceClass lazyBind() toOptional (outlineServiceClass) lazyBind() toOptional formatServiceClass @@ -36,4 +37,6 @@ abstract class FileGeneratorBasedFormatDescriptor : FormatDescriptor { abstract val outlineServiceClass: KClass? abstract val generatorServiceClass: KClass abstract val packageListServiceClass: KClass? + + open val languageServiceClass: KClass = KotlinLanguageService::class } \ No newline at end of file -- cgit