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:
Dmitriy Dolovov
2018-12-10 17:03:19 +07:00
parent 38efc7e823
commit 2c327564d5
8 changed files with 22 additions and 95 deletions
@@ -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() }