diff --git a/idea/src/org/jetbrains/kotlin/idea/PluginStartupListener.kt b/idea/src/org/jetbrains/kotlin/idea/PluginStartupListener.kt index c9fe9c60dfb..191e856f801 100644 --- a/idea/src/org/jetbrains/kotlin/idea/PluginStartupListener.kt +++ b/idea/src/org/jetbrains/kotlin/idea/PluginStartupListener.kt @@ -10,6 +10,11 @@ import com.intellij.openapi.application.PathMacros import org.jetbrains.kotlin.idea.util.application.isUnitTestMode import org.jetbrains.kotlin.utils.PathUtil.kotlinPathsForIdeaPlugin +/** + * Some actions have to be performed before loading and opening any project. + * + * E.g. path variables have to be registered in advance as modules could rely on some path variables. + */ class PluginStartupListener : ApplicationInitializedListener { override fun componentsInitialized() { diff --git a/idea/src/org/jetbrains/kotlin/idea/PluginStartupListener.kt.192 b/idea/src/org/jetbrains/kotlin/idea/PluginStartupListener.kt.192 index 162241ab90f..e69de29bb2d 100644 --- a/idea/src/org/jetbrains/kotlin/idea/PluginStartupListener.kt.192 +++ b/idea/src/org/jetbrains/kotlin/idea/PluginStartupListener.kt.192 @@ -1,9 +0,0 @@ -/* - * Copyright 2010-2020 JetBrains s.r.o. and Kotlin Programming Language contributors. - * Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file. - */ - -package org.jetbrains.kotlin.idea - -class PluginStartupListener { -} \ No newline at end of file