From 7d574f576686eaaa5d8b6c629908e2910092eb0a Mon Sep 17 00:00:00 2001 From: RedNesto Date: Mon, 12 Aug 2024 22:04:40 +0200 Subject: [PATCH] Move TomlKeyInsertionHandler to correct package --- src/main/kotlin/toml/{toml => }/TomlKeyInsertionHandler.kt | 2 +- .../platform/forge/completion/ModsTomlCompletionContributor.kt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) rename src/main/kotlin/toml/{toml => }/TomlKeyInsertionHandler.kt (98%) diff --git a/src/main/kotlin/toml/toml/TomlKeyInsertionHandler.kt b/src/main/kotlin/toml/TomlKeyInsertionHandler.kt similarity index 98% rename from src/main/kotlin/toml/toml/TomlKeyInsertionHandler.kt rename to src/main/kotlin/toml/TomlKeyInsertionHandler.kt index e06ee50ea..76e25473f 100644 --- a/src/main/kotlin/toml/toml/TomlKeyInsertionHandler.kt +++ b/src/main/kotlin/toml/TomlKeyInsertionHandler.kt @@ -18,7 +18,7 @@ * along with this program. If not, see . */ -package com.demonwav.mcdev.toml.toml +package com.demonwav.mcdev.toml import com.intellij.codeInsight.AutoPopupController import com.intellij.codeInsight.completion.InsertHandler diff --git a/src/main/kotlin/toml/platform/forge/completion/ModsTomlCompletionContributor.kt b/src/main/kotlin/toml/platform/forge/completion/ModsTomlCompletionContributor.kt index d670e7e45..2045f30ac 100644 --- a/src/main/kotlin/toml/platform/forge/completion/ModsTomlCompletionContributor.kt +++ b/src/main/kotlin/toml/platform/forge/completion/ModsTomlCompletionContributor.kt @@ -21,12 +21,12 @@ package com.demonwav.mcdev.toml.platform.forge.completion import com.demonwav.mcdev.platform.forge.util.ForgeConstants +import com.demonwav.mcdev.toml.TomlKeyInsertionHandler import com.demonwav.mcdev.toml.TomlSchemaEntry import com.demonwav.mcdev.toml.TomlStringValueInsertionHandler import com.demonwav.mcdev.toml.inModsTomlKey import com.demonwav.mcdev.toml.inModsTomlValueWithKey import com.demonwav.mcdev.toml.platform.forge.ModsTomlSchema -import com.demonwav.mcdev.toml.toml.TomlKeyInsertionHandler import com.demonwav.mcdev.util.isAncestorOf import com.intellij.codeInsight.completion.CompletionContributor import com.intellij.codeInsight.completion.CompletionParameters