From 860d575721c5a000a40109b98e7276282ec04526 Mon Sep 17 00:00:00 2001 From: azerr Date: Sat, 7 Dec 2024 16:37:01 +0100 Subject: [PATCH] fix: register ProjectIndexingActivityHistoryListener on appFrameCreated Signed-off-by: azerr --- .../indexing/ProjectIndexingAppLifecycleListener.java | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/main/java/com/redhat/devtools/lsp4ij/client/indexing/ProjectIndexingAppLifecycleListener.java b/src/main/java/com/redhat/devtools/lsp4ij/client/indexing/ProjectIndexingAppLifecycleListener.java index d842bc8f6..dee8459bd 100644 --- a/src/main/java/com/redhat/devtools/lsp4ij/client/indexing/ProjectIndexingAppLifecycleListener.java +++ b/src/main/java/com/redhat/devtools/lsp4ij/client/indexing/ProjectIndexingAppLifecycleListener.java @@ -12,6 +12,9 @@ import com.intellij.ide.AppLifecycleListener; import org.jetbrains.annotations.ApiStatus; +import org.jetbrains.annotations.NotNull; + +import java.util.List; /** *

The proxy that implements ProjectIndexingActivityHistoryListener is registered via topic subscribe @@ -32,7 +35,8 @@ @ApiStatus.Internal public class ProjectIndexingAppLifecycleListener implements AppLifecycleListener { - ProjectIndexingAppLifecycleListener() { + @Override + public void appFrameCreated(@NotNull List commandLineArgs) { ProjectIndexingDumbAndScanningStrategy.getInstance(); } }