CIDR: Avoid Java errors during KTS analysis in CIDR
There is no Java support in CIDR. Therefore: - analyze KTS in CIDR using Common platform - disable error highlighting for KTS in CIDR Issue #KT-29953 Fixed
This commit is contained in:
@@ -9,4 +9,8 @@ package org.jetbrains.kotlin.idea.util
|
||||
|
||||
import com.intellij.util.PlatformUtils
|
||||
|
||||
val isRunningInCidrIde by lazy { PlatformUtils.isCidr() }
|
||||
// Currently CIDR IDEs (CLion and AppCode) have no Java support.
|
||||
// Use this property to bypass Java-specific logic in CIDR.
|
||||
val isRunningInCidrIde: Boolean by lazy(LazyThreadSafetyMode.PUBLICATION) {
|
||||
PlatformUtils.isCidr()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user