From 9fc2bffa6c548325b36bf901df929cb1f3308abe Mon Sep 17 00:00:00 2001 From: Theodor Kvalsvik Lauritzen <19690242+theodorklauritzen@users.noreply.github.com> Date: Tue, 3 Sep 2024 10:14:17 +0200 Subject: [PATCH] fix: Change PluginId for IntelliJ plugin --- .../vespa/schemals/intellij/SchemaLspServerSupportProvider.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/integration/schema-language-server/clients/intellij/src/main/kotlin/ai/vespa/schemals/intellij/SchemaLspServerSupportProvider.kt b/integration/schema-language-server/clients/intellij/src/main/kotlin/ai/vespa/schemals/intellij/SchemaLspServerSupportProvider.kt index 35569c4f7ed4..0a3c908c8523 100644 --- a/integration/schema-language-server/clients/intellij/src/main/kotlin/ai/vespa/schemals/intellij/SchemaLspServerSupportProvider.kt +++ b/integration/schema-language-server/clients/intellij/src/main/kotlin/ai/vespa/schemals/intellij/SchemaLspServerSupportProvider.kt @@ -28,8 +28,8 @@ class SchemaLspServerDescriptor(project: Project) : ProjectWideLspServerDescript override fun isSupportedFile(file: VirtualFile) = file.extension.equals("sd") || file.extension.equals("profile") override fun createCommandLine(): GeneralCommandLine { - val schemaPlugin = PluginManager.getInstance().findEnabledPlugin(PluginId.getId("ai.vespa.schemals.intellij"))!! + val schemaPlugin = PluginManager.getInstance().findEnabledPlugin(PluginId.getId("ai.vespa"))!! val serverPath = schemaPlugin.pluginPath.resolve("schema-language-server-jar-with-dependencies.jar").toAbsolutePath().toString() return GeneralCommandLine("java", "-jar", serverPath) } -} \ No newline at end of file +}