Skip to content

Commit

Permalink
Should show more progress details when Starting Java Language Server
Browse files Browse the repository at this point in the history
Signed-off-by: Snjezana Peco <[email protected]>
  • Loading branch information
snjeza authored and fbricon committed Apr 16, 2019
1 parent 37183d4 commit 03ae312
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,9 @@ private class ServerStatusMonitor extends ProgressReporter {
@Override
protected String formatMessage(String task) {
String message = this.taskName == null || this.taskName.length() == 0 ? "" : ("- " + this.taskName);
if (task != null && task.length() > 0) {
message = message + " - " + task;
}
return String.format("%.0f%% Starting Java Language Server %s", ((double) progress / totalWork) * 100, message);
}

Expand Down

0 comments on commit 03ae312

Please sign in to comment.