From f0f0cc2d1cc38a24a74cacb8f3462691470835c4 Mon Sep 17 00:00:00 2001 From: azerr Date: Tue, 19 Mar 2024 08:40:07 +0100 Subject: [PATCH] refactor: use new LSP4IJ API Signed-off-by: azerr --- .../lsp4mp4ij/settings/MicroProfileInspectionsInfo.java | 2 +- .../settings/UserDefinedMicroProfileSettings.java | 2 +- .../psi/core/command/QuteUpdateConfigurationAction.java | 2 +- .../intellij/qute/settings/QuteInspectionsInfo.java | 2 +- .../intellij/qute/settings/UserDefinedQuteSettings.java | 2 +- src/main/resources/META-INF/lsp4ij-quarkus.xml | 6 +++--- src/main/resources/META-INF/lsp4ij-qute.xml | 8 ++++---- 7 files changed, 12 insertions(+), 12 deletions(-) diff --git a/src/main/java/com/redhat/devtools/intellij/lsp4mp4ij/settings/MicroProfileInspectionsInfo.java b/src/main/java/com/redhat/devtools/intellij/lsp4mp4ij/settings/MicroProfileInspectionsInfo.java index ba53b0de3..3f09f37a3 100644 --- a/src/main/java/com/redhat/devtools/intellij/lsp4mp4ij/settings/MicroProfileInspectionsInfo.java +++ b/src/main/java/com/redhat/devtools/intellij/lsp4mp4ij/settings/MicroProfileInspectionsInfo.java @@ -18,7 +18,7 @@ import com.intellij.openapi.project.Project; import com.intellij.profile.codeInspection.InspectionProfileManager; import com.redhat.devtools.lsp4ij.inspections.AbstractDelegateInspectionWithExclusions; -import com.redhat.devtools.lsp4ij.operations.diagnostics.SeverityMapping; +import com.redhat.devtools.lsp4ij.features.diagnostics.SeverityMapping; import com.redhat.devtools.intellij.lsp4mp4ij.psi.core.inspections.*; import org.eclipse.lsp4j.DiagnosticSeverity; diff --git a/src/main/java/com/redhat/devtools/intellij/lsp4mp4ij/settings/UserDefinedMicroProfileSettings.java b/src/main/java/com/redhat/devtools/intellij/lsp4mp4ij/settings/UserDefinedMicroProfileSettings.java index bb62176f8..4164ee270 100644 --- a/src/main/java/com/redhat/devtools/intellij/lsp4mp4ij/settings/UserDefinedMicroProfileSettings.java +++ b/src/main/java/com/redhat/devtools/intellij/lsp4mp4ij/settings/UserDefinedMicroProfileSettings.java @@ -19,7 +19,7 @@ import com.intellij.openapi.project.Project; import com.intellij.util.containers.ContainerUtil; import com.intellij.util.xmlb.annotations.Tag; -import com.redhat.devtools.lsp4ij.operations.diagnostics.SeverityMapping; +import com.redhat.devtools.lsp4ij.features.diagnostics.SeverityMapping; import org.eclipse.lsp4j.DiagnosticSeverity; import org.jetbrains.annotations.NotNull; import org.jetbrains.annotations.Nullable; diff --git a/src/main/java/com/redhat/devtools/intellij/qute/psi/core/command/QuteUpdateConfigurationAction.java b/src/main/java/com/redhat/devtools/intellij/qute/psi/core/command/QuteUpdateConfigurationAction.java index dc544863c..7654fb681 100644 --- a/src/main/java/com/redhat/devtools/intellij/qute/psi/core/command/QuteUpdateConfigurationAction.java +++ b/src/main/java/com/redhat/devtools/intellij/qute/psi/core/command/QuteUpdateConfigurationAction.java @@ -34,7 +34,7 @@ import com.redhat.devtools.lsp4ij.commands.LSPCommand; import com.redhat.devtools.lsp4ij.commands.LSPCommandAction; import com.redhat.devtools.lsp4ij.inspections.AbstractDelegateInspectionWithExclusions; -import com.redhat.devtools.lsp4ij.operations.diagnostics.SeverityMapping; +import com.redhat.devtools.lsp4ij.features.diagnostics.SeverityMapping; import org.eclipse.lsp4j.Command; import org.eclipse.lsp4j.DiagnosticSeverity; import org.jetbrains.annotations.NotNull; diff --git a/src/main/java/com/redhat/devtools/intellij/qute/settings/QuteInspectionsInfo.java b/src/main/java/com/redhat/devtools/intellij/qute/settings/QuteInspectionsInfo.java index 187aab645..a648ab083 100644 --- a/src/main/java/com/redhat/devtools/intellij/qute/settings/QuteInspectionsInfo.java +++ b/src/main/java/com/redhat/devtools/intellij/qute/settings/QuteInspectionsInfo.java @@ -17,7 +17,7 @@ import com.intellij.codeInspection.ex.InspectionToolWrapper; import com.intellij.openapi.project.Project; import com.intellij.profile.codeInspection.InspectionProfileManager; -import com.redhat.devtools.lsp4ij.operations.diagnostics.SeverityMapping; +import com.redhat.devtools.lsp4ij.features.diagnostics.SeverityMapping; import com.redhat.devtools.lsp4ij.inspections.AbstractDelegateInspectionWithExclusions; import com.redhat.devtools.intellij.qute.psi.core.inspections.QuteGlobalInspection; import com.redhat.devtools.intellij.qute.psi.core.inspections.QuteUndefinedNamespaceInspection; diff --git a/src/main/java/com/redhat/devtools/intellij/qute/settings/UserDefinedQuteSettings.java b/src/main/java/com/redhat/devtools/intellij/qute/settings/UserDefinedQuteSettings.java index ce4269a93..bb48714cf 100644 --- a/src/main/java/com/redhat/devtools/intellij/qute/settings/UserDefinedQuteSettings.java +++ b/src/main/java/com/redhat/devtools/intellij/qute/settings/UserDefinedQuteSettings.java @@ -19,7 +19,7 @@ import com.intellij.openapi.project.Project; import com.intellij.util.containers.ContainerUtil; import com.intellij.util.xmlb.annotations.Tag; -import com.redhat.devtools.lsp4ij.operations.diagnostics.SeverityMapping; +import com.redhat.devtools.lsp4ij.features.diagnostics.SeverityMapping; import org.eclipse.lsp4j.DiagnosticSeverity; import org.jetbrains.annotations.NotNull; import org.jetbrains.annotations.Nullable; diff --git a/src/main/resources/META-INF/lsp4ij-quarkus.xml b/src/main/resources/META-INF/lsp4ij-quarkus.xml index 7a82a8bfc..930e9eb2e 100644 --- a/src/main/resources/META-INF/lsp4ij-quarkus.xml +++ b/src/main/resources/META-INF/lsp4ij-quarkus.xml @@ -3,7 +3,7 @@ + implementationClass="com.redhat.devtools.lsp4ij.features.completion.LSPCompletionConfidence"/>