Skip to content

Commit 7004694

Browse files
authored
Set the indexProgress indicator to paused on startup if pauseCodebaseIndexOnStart is set (#1804)
1 parent 2185344 commit 7004694

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

core/core.ts

+6-1
Original file line numberDiff line numberDiff line change
@@ -145,9 +145,14 @@ export class Core {
145145
// Index on initialization
146146
this.ide
147147
.getWorkspaceDirs()
148-
.then((dirs) => {
148+
.then(async (dirs) => {
149149
// Respect pauseCodebaseIndexOnStart user settings
150150
if (ideSettings.pauseCodebaseIndexOnStart) {
151+
await this.messenger.request("indexProgress", {
152+
progress: 100,
153+
desc: "Initial Indexing Skipped",
154+
status: "paused",
155+
});
151156
return;
152157
}
153158

0 commit comments

Comments
 (0)