mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-30 13:51:31 +00:00
Fixes to progress display
This commit is contained in:
parent
e4d217074d
commit
ef24721640
2 changed files with 12 additions and 17 deletions
|
@ -36,13 +36,9 @@ class StatusDisplay implements vscode.Disposable {
|
|||
this.timer ||
|
||||
setInterval(() => {
|
||||
if (this.packageName) {
|
||||
this.statusBarItem!.text = `cargo ${this.command} [${
|
||||
this.packageName
|
||||
}] ${this.frame()}`;
|
||||
this.statusBarItem!.text = `${this.frame()} cargo ${this.command} [${this.packageName}]`;
|
||||
} else {
|
||||
this.statusBarItem!.text = `cargo ${
|
||||
this.command
|
||||
} ${this.frame()}`;
|
||||
this.statusBarItem!.text = `${this.frame()} cargo ${this.command}`;
|
||||
}
|
||||
}, 300);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue