Skip to content

Commit 38518fd

Browse files
committed
hide severity option when progress indicator is running
1 parent 47f9c5c commit 38518fd

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

src/extension.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,10 +84,11 @@ function updateProgressIndicator(): void {
8484
if (checksRunning) {
8585
cppcheckProgressIndicator.text = `$(loading~spin) Cppcheck Running ..`;
8686
cppcheckProgressIndicator.show();
87-
// severityOption.hide();
87+
// To avoid crowding status bar we alternate between progress indicator and severity option item
88+
severityOption.hide();
8889
} else {
8990
cppcheckProgressIndicator.hide();
90-
// severityOption.show();
91+
severityOption.show();
9192
}
9293
}
9394

0 commit comments

Comments
 (0)