Skip to content

Commit

Permalink
fix: register ProjectIndexingActivityHistoryListener on appFrameCreated
Browse files Browse the repository at this point in the history
Signed-off-by: azerr <[email protected]>
  • Loading branch information
angelozerr committed Dec 7, 2024
1 parent 562d248 commit 860d575
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@

import com.intellij.ide.AppLifecycleListener;
import org.jetbrains.annotations.ApiStatus;
import org.jetbrains.annotations.NotNull;

import java.util.List;

/**
* <p>The proxy that implements ProjectIndexingActivityHistoryListener is registered via topic subscribe
Expand All @@ -32,7 +35,8 @@
@ApiStatus.Internal
public class ProjectIndexingAppLifecycleListener implements AppLifecycleListener {

ProjectIndexingAppLifecycleListener() {
@Override
public void appFrameCreated(@NotNull List<String> commandLineArgs) {
ProjectIndexingDumbAndScanningStrategy.getInstance();
}
}

0 comments on commit 860d575

Please sign in to comment.