File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -98,7 +98,11 @@ actor IndexProgressManager {
9898 // `indexTasksWereScheduled` calls yet but the semantic index managers already track them in their in-progress tasks.
9999 // Clip the finished tasks to 0 because showing a negative number there looks stupid.
100100 let finishedTasks = max ( queuedIndexTasks - indexTasks. count, 0 )
101- message = " \( finishedTasks) / \( queuedIndexTasks) "
101+ if indexTasks. isEmpty {
102+ message = " Preparing targets "
103+ } else {
104+ message = " \( finishedTasks) / \( queuedIndexTasks) "
105+ }
102106 if await sourceKitLSPServer. options. experimentalFeatures. contains ( . showActivePreparationTasksInProgress) {
103107 var inProgressTasks : [ String ] = [ ]
104108 inProgressTasks += preparationTasks. filter { $0. value == . executing }
You can’t perform that action at this time.
0 commit comments