From cd04ef295a93f9a7892d37dd68fbf37b0410de83 Mon Sep 17 00:00:00 2001 From: azerr Date: Wed, 18 Oct 2023 10:25:32 +0200 Subject: [PATCH] fix: call init when open file must start ls while indexing. Signed-off-by: azerr --- .../lsp4ij/ConnectDocumentToLanguageServerSetupParticipant.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/com/redhat/devtools/intellij/lsp4ij/ConnectDocumentToLanguageServerSetupParticipant.java b/src/main/java/com/redhat/devtools/intellij/lsp4ij/ConnectDocumentToLanguageServerSetupParticipant.java index 27e1aae8e..54993d888 100644 --- a/src/main/java/com/redhat/devtools/intellij/lsp4ij/ConnectDocumentToLanguageServerSetupParticipant.java +++ b/src/main/java/com/redhat/devtools/intellij/lsp4ij/ConnectDocumentToLanguageServerSetupParticipant.java @@ -38,6 +38,7 @@ public ConnectToLanguageServerCompletableFuture(@NotNull VirtualFile file, @NotN connectToLanguageServer(file, project); return null; }, MessageFormat.format(MESSAGE_KEY, file.getUrl()), project, null, new CoalesceByKey(ConnectDocumentToLanguageServerSetupParticipant.class.getName(), file.getUrl())); + init(); } }