Force kotlin injector before temporary injector (KT-6610)
Place KotlinLanguageInject before TemporaryPlacesInjector TemporaryPlacesInjector injects languages as a single place while we need to distinguish interpolated and non-interpolated strings. Bad ordering leads to inconsistent behaviour in temporary injection and injection with annotations and comments. See InjectedLanguageManagerImpl.getInjectorMap() #KT-6610 In Progress
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
<idea-plugin>
|
||||
<extensions defaultExtensionNs="com.intellij">
|
||||
<multiHostInjector implementation="org.jetbrains.kotlin.idea.injection.KotlinLanguageInjector"/>
|
||||
<multiHostInjector implementation="org.jetbrains.kotlin.idea.injection.KotlinLanguageInjector" order="first,before TemporaryPlacesInjector"/>
|
||||
|
||||
<regExpLanguageHost forClass="org.jetbrains.kotlin.psi.KtStringTemplateExpression"
|
||||
implementationClass="com.intellij.psi.impl.JavaRegExpHost"/>
|
||||
|
||||
Reference in New Issue
Block a user