@@ -8,48 +8,48 @@ import * as commands from './commands';
88 * Provides status bar functionality for the extension.
99 */
1010class CAStatusBarProvider implements Disposable {
11- private statusBarItem : StatusBarItem ;
11+ private statusBarItem : StatusBarItem ;
1212
13- /**
14- * Creates an instance of the CAStatusBarProvider class.
15- */
16- constructor ( ) {
17- this . statusBarItem = window . createStatusBarItem ( StatusBarAlignment . Left , 0 ) ;
18- }
13+ /**
14+ * Creates an instance of the CAStatusBarProvider class.
15+ */
16+ constructor ( ) {
17+ this . statusBarItem = window . createStatusBarItem ( StatusBarAlignment . Left , 0 ) ;
18+ }
1919
20- /**
21- * Displays summary information in the status bar.
22- * @param text The text to display in the status bar.
23- * @param uri The URI associated with the summary.
24- */
25- public showSummary ( text : string , uri : Uri ) : void {
26- this . statusBarItem . text = text ;
27- this . statusBarItem . command = {
28- title : PromptText . FULL_STACK_PROMPT_TEXT ,
29- command : commands . STACK_ANALYSIS_FROM_STATUS_BAR_COMMAND ,
30- arguments : [ uri ]
31- } ;
32- this . statusBarItem . tooltip = PromptText . FULL_STACK_PROMPT_TEXT ;
33- this . statusBarItem . show ( ) ;
34- }
20+ /**
21+ * Displays summary information in the status bar.
22+ * @param text The text to display in the status bar.
23+ * @param uri The URI associated with the summary.
24+ */
25+ public showSummary ( text : string , uri : Uri ) : void {
26+ this . statusBarItem . text = text ;
27+ this . statusBarItem . command = {
28+ title : PromptText . FULL_STACK_PROMPT_TEXT ,
29+ command : commands . STACK_ANALYSIS_FROM_STATUS_BAR_COMMAND ,
30+ arguments : [ uri ]
31+ } ;
32+ this . statusBarItem . tooltip = PromptText . FULL_STACK_PROMPT_TEXT ;
33+ this . statusBarItem . show ( ) ;
34+ }
3535
36- /**
37- * Sets an error message in the status bar indicating a failed RHDA analysis.
38- */
39- public setError ( ) : void {
40- this . statusBarItem . text = `$(error) RHDA analysis has failed` ;
41- this . statusBarItem . command = {
42- title : PromptText . LSP_FAILURE_TEXT ,
43- command : commands . STACK_LOGS_COMMAND ,
44- } ;
45- }
36+ /**
37+ * Sets an error message in the status bar indicating a failed RHDA analysis.
38+ */
39+ public setError ( ) : void {
40+ this . statusBarItem . text = `$(error) RHDA analysis has failed` ;
41+ this . statusBarItem . command = {
42+ title : PromptText . LSP_FAILURE_TEXT ,
43+ command : commands . STACK_LOGS_COMMAND ,
44+ } ;
45+ }
4646
47- /**
48- * Disposes of the status bar item.
49- */
50- public dispose ( ) : void {
51- this . statusBarItem . dispose ( ) ;
52- }
47+ /**
48+ * Disposes of the status bar item.
49+ */
50+ public dispose ( ) : void {
51+ this . statusBarItem . dispose ( ) ;
52+ }
5353}
5454
5555/**
0 commit comments