From eb9f1f380316c9c5e20da0871132ae5fb56e1a40 Mon Sep 17 00:00:00 2001 From: reymondzzzz Date: Sun, 26 Nov 2023 14:49:10 +0300 Subject: [PATCH] hotfixes https://github.com/smallcloudai/refact-intellij/issues/43 --- gradle.properties | 1 + src/main/kotlin/com/smallcloud/refactai/Initializer.kt | 3 --- 2 files changed, 1 insertion(+), 3 deletions(-) create mode 100644 gradle.properties diff --git a/gradle.properties b/gradle.properties new file mode 100644 index 00000000..ceddf08f --- /dev/null +++ b/gradle.properties @@ -0,0 +1 @@ +org.gradle.jvmargs=-Xmx2048m \ No newline at end of file diff --git a/src/main/kotlin/com/smallcloud/refactai/Initializer.kt b/src/main/kotlin/com/smallcloud/refactai/Initializer.kt index 50eda47d..a7283024 100644 --- a/src/main/kotlin/com/smallcloud/refactai/Initializer.kt +++ b/src/main/kotlin/com/smallcloud/refactai/Initializer.kt @@ -25,9 +25,6 @@ class Initializer : ProjectActivity, Disposable { initialize(project) } private fun initialize(project: Project) { - val listener = LastEditorGetterListener.instance -// Disposer.register(PluginState.instance, listener) - Logger.getInstance("SMCInitializer").info("Bin prefix = ${Resources.binPrefix}") ConnectivityManager.instance.startup()