From 0b2e15d20c0645dd412109c5cfb780dceb969ba5 Mon Sep 17 00:00:00 2001 From: Vladimir Dolzhenko Date: Fri, 3 Jul 2020 22:05:43 +0200 Subject: [PATCH] PluginStartupListener clean up Relates to #KT-39968 --- .../org/jetbrains/kotlin/idea/PluginStartupListener.kt | 5 +++++ .../jetbrains/kotlin/idea/PluginStartupListener.kt.192 | 9 --------- 2 files changed, 5 insertions(+), 9 deletions(-) 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