Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit1bd76eb

Browse files
authored
Fix "Command '' not found" error. (microsoft#8609)
* Fix "Command '' not found" error.* Remove unneeded initialization.
1 parent6d99657 commit1bd76eb

File tree

1 file changed

+1
-5
lines changed
  • Extension/src/LanguageServer

1 file changed

+1
-5
lines changed

‎Extension/src/LanguageServer/ui.ts‎

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -68,22 +68,18 @@ export class UI {
6868

6969
this.referencesStatusBarItem=vscode.window.createStatusBarItem("c.cpp.references.statusbar",vscode.StatusBarAlignment.Right,901);
7070
this.referencesStatusBarItem.name=localize("c.cpp.references.statusbar","C/C++ References Status");
71-
this.referencesStatusBarItem.text="";
7271
this.referencesStatusBarItem.tooltip="";
7372
this.referencesStatusBarItem.command="C_Cpp.ShowReferencesProgress";
7473
this.ShowReferencesIcon=false;
7574

7675
this.intelliSenseStatusBarItem=vscode.window.createStatusBarItem("c.cpp.intellisense.statusbar",vscode.StatusBarAlignment.Right,903);
7776
this.intelliSenseStatusBarItem.name=localize("c.cpp.intellisense.statusbar","C/C++ IntelliSense Status");
78-
this.intelliSenseStatusBarItem.text="";
7977
this.intelliSenseStatusBarItem.tooltip=this.updatingIntelliSenseTooltip;
8078
this.ShowFlameIcon=false;
8179

8280
this.browseEngineStatusBarItem=vscode.window.createStatusBarItem("c.cpp.tagparser.statusbar",vscode.StatusBarAlignment.Right,902);
8381
this.browseEngineStatusBarItem.name=localize("c.cpp.tagparser.statusbar","C/C++ Tag Parser Status");
84-
this.browseEngineStatusBarItem.text="";
8582
this.browseEngineStatusBarItem.tooltip=localize("discovering.files.tooltip","Discovering files");
86-
this.browseEngineStatusBarItem.command="";
8783
this.ShowDBIcon=false;
8884

8985
this.codeAnalysisProgram="clang-tidy";
@@ -117,7 +113,7 @@ export class UI {
117113
if(val){
118114
this.browseEngineStatusBarItem.command="C_Cpp.ShowParsingCommands";
119115
}else{
120-
this.browseEngineStatusBarItem.command="";
116+
this.browseEngineStatusBarItem.command=undefined;
121117
}
122118
}
123119

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp