From b25a9eb3d2fbe65f28e8e0df90ce91440e850111 Mon Sep 17 00:00:00 2001 From: Cottand Date: Sun, 2 Jun 2024 00:13:13 +0100 Subject: [PATCH] remove unused import --- src/main/java/org/nixos/idea/format/NixExternalFormatter.java | 4 ++-- .../org/nixos/idea/settings/NixLangSettingsConfigurable.java | 2 -- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/src/main/java/org/nixos/idea/format/NixExternalFormatter.java b/src/main/java/org/nixos/idea/format/NixExternalFormatter.java index a895d84a..c3c69cbe 100644 --- a/src/main/java/org/nixos/idea/format/NixExternalFormatter.java +++ b/src/main/java/org/nixos/idea/format/NixExternalFormatter.java @@ -16,12 +16,12 @@ import org.nixos.idea.file.NixFile; import org.nixos.idea.settings.NixLangSettings; -import java.io.*; +import java.io.IOException; +import java.io.OutputStream; import java.nio.charset.StandardCharsets; import java.nio.file.Files; import java.util.EnumSet; import java.util.List; -import java.util.Scanner; import java.util.Set; public final class NixExternalFormatter extends AsyncDocumentFormattingService { diff --git a/src/main/java/org/nixos/idea/settings/NixLangSettingsConfigurable.java b/src/main/java/org/nixos/idea/settings/NixLangSettingsConfigurable.java index 3e7e88f7..91be5122 100644 --- a/src/main/java/org/nixos/idea/settings/NixLangSettingsConfigurable.java +++ b/src/main/java/org/nixos/idea/settings/NixLangSettingsConfigurable.java @@ -3,13 +3,11 @@ import com.intellij.openapi.options.Configurable; import com.intellij.openapi.options.ConfigurationException; import com.intellij.openapi.options.SearchableConfigurable; -import com.intellij.openapi.project.ProjectManager; import com.intellij.openapi.util.NlsContexts; import com.intellij.ui.RawCommandLineEditor; import com.intellij.ui.TitledSeparator; import com.intellij.ui.components.JBCheckBox; import com.intellij.ui.components.JBLabel; -import com.intellij.ui.components.JBTextArea; import com.intellij.util.ui.FormBuilder; import org.jetbrains.annotations.NonNls; import org.jetbrains.annotations.NotNull;