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 {
98
98
// `indexTasksWereScheduled` calls yet but the semantic index managers already track them in their in-progress tasks.
99
99
// Clip the finished tasks to 0 because showing a negative number there looks stupid.
100
100
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
+ }
102
106
if await sourceKitLSPServer. options. experimentalFeatures. contains ( . showActivePreparationTasksInProgress) {
103
107
var inProgressTasks : [ String ] = [ ]
104
108
inProgressTasks += preparationTasks. filter { $0. value == . executing }
You can’t perform that action at this time.
0 commit comments