File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed
Extension/src/LanguageServer Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -84,6 +84,7 @@ export class OldUI implements UI {
8484 private codeAnalysisPausedTooltip : string = "" ;
8585 get isNewUI ( ) : boolean { return false ; } ;
8686 private readonly configureIntelliSenseText : string = localize ( "c.cpp.configureIntelliSenseStatus.text" , "Configure IntelliSense" ) ;
87+ private readonly cppConfigureIntelliSenseText : string = localize ( "c.cpp.configureIntelliSenseStatus.cppText" , "C/C++ Configure IntelliSense" ) ;
8788
8889 constructor ( ) {
8990 const configTooltip : string = localize ( "c.cpp.configuration.tooltip" , "C/C++ Configuration" ) ;
@@ -108,7 +109,8 @@ export class OldUI implements UI {
108109 this . ShowReferencesIcon = false ;
109110
110111 this . configureIntelliSenseStatusItem = vscode . window . createStatusBarItem ( `c.cpp.configureIntelliSenseStatus.statusbar` , vscode . StatusBarAlignment . Right , 901 ) ;
111- this . configureIntelliSenseStatusItem . name = localize ( "c.cpp.configureIntelliSenseStatus.cppText" , "C/C++ Configure IntelliSense" ) ;
112+ this . configureIntelliSenseStatusItem . name = this . cppConfigureIntelliSenseText ;
113+ this . configureIntelliSenseStatusItem . tooltip = this . cppConfigureIntelliSenseText ;
112114 this . configureIntelliSenseStatusItem . text = `$(warning) ${ this . configureIntelliSenseText } ` ;
113115 this . configureIntelliSenseStatusItem . backgroundColor = new vscode . ThemeColor ( 'statusBarItem.warningBackground' ) ;
114116 this . configureIntelliSenseStatusItem . command = {
Original file line number Diff line number Diff line change @@ -86,6 +86,7 @@ export class NewUI implements UI {
8686 private readonly iconDelayTime : number = 1000 ;
8787 get isNewUI ( ) : boolean { return true ; } ;
8888 private readonly configureIntelliSenseText : string = localize ( "c.cpp.configureIntelliSenseStatus.text" , "Configure IntelliSense" ) ;
89+ private readonly cppConfigureIntelliSenseText : string = localize ( "c.cpp.configureIntelliSenseStatus.cppText" , "C/C++ Configure IntelliSense" ) ;
8990
9091 constructor ( ) {
9192 const configTooltip : string = localize ( "c.cpp.configuration.tooltip" , "C/C++ Configuration" ) ;
@@ -110,7 +111,8 @@ export class NewUI implements UI {
110111 this . ShowReferencesIcon = false ;
111112
112113 this . configureIntelliSenseStatusItem = vscode . window . createStatusBarItem ( `c.cpp.configureIntelliSenseStatus.statusbar` , vscode . StatusBarAlignment . Right , 0 ) ;
113- this . configureIntelliSenseStatusItem . name = localize ( "c.cpp.configureIntelliSenseStatus.cppText" , "C/C++ Configure IntelliSense" ) ;
114+ this . configureIntelliSenseStatusItem . name = this . cppConfigureIntelliSenseText ;
115+ this . configureIntelliSenseStatusItem . tooltip = this . cppConfigureIntelliSenseText ;
114116 this . configureIntelliSenseStatusItem . text = `$(warning) ${ this . configureIntelliSenseText } ` ;
115117 this . configureIntelliSenseStatusItem . backgroundColor = new vscode . ThemeColor ( 'statusBarItem.warningBackground' ) ;
116118 this . configureIntelliSenseStatusItem . command = {
You can’t perform that action at this time.
0 commit comments