CIDR: Better detection when running in CIDR-based IDE
- Drop unnecessary bunch files for `KotlinFacetType` and `KotlinFacetTypeImpl` - Use cached val `isRunningInCidrIde` to check if the code is running under CIDR
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
/*
|
||||
* Copyright 2010-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license
|
||||
* that can be found in the license/LICENSE.txt file.
|
||||
*/
|
||||
|
||||
@file:JvmName("CidrUtil")
|
||||
|
||||
package org.jetbrains.kotlin.idea.util
|
||||
|
||||
import com.intellij.util.PlatformUtils
|
||||
|
||||
val isRunningInCidrIde by lazy { PlatformUtils.isCidr() }
|
||||
Reference in New Issue
Block a user