Enable new inference in IDE by default
This commit is contained in:
+1
-5
@@ -15,11 +15,7 @@ import org.jetbrains.kotlin.idea.util.isSnapshot
|
||||
object NewInferenceForIDEAnalysisComponent {
|
||||
private const val inferenceOptionV1 = "kotlin.use.new.inference.for.ide.analysis"
|
||||
private const val inferenceOptionV2 = "kotlin.use.new.inference.for.ide.analysis.v2"
|
||||
val defaultState: Boolean
|
||||
get() {
|
||||
val bundledVersion = KotlinCompilerVersion.VERSION
|
||||
return isEap(bundledVersion) || isDev(bundledVersion) || isSnapshot(bundledVersion)
|
||||
}
|
||||
val defaultState: Boolean get() = true
|
||||
|
||||
@JvmStatic
|
||||
fun setEnabled(project: Project, state: Boolean) {
|
||||
|
||||
Reference in New Issue
Block a user