Skip to content

Commit 6a73275

Browse files
authored
This message wasn't being sent by the language server (#3840)
1 parent d125910 commit 6a73275

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Extension/src/LanguageServer/client.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1155,7 +1155,7 @@ class DefaultClient implements Client {
11551155
util.setProgress(util.getProgressParseRootSuccess());
11561156
} else if (message.endsWith("No Squiggles")) {
11571157
util.setIntelliSenseProgress(util.getProgressIntelliSenseNoSquiggles());
1158-
} else if (message.endsWith("IntelliSense Fallback")) {
1158+
} else if (message.endsWith("Unresolved Headers")) {
11591159
let showIntelliSenseFallbackMessage: PersistentState<boolean> = new PersistentState<boolean>("CPP.showIntelliSenseFallbackMessage", true);
11601160
if (showIntelliSenseFallbackMessage.Value) {
11611161
ui.showConfigureIncludePathMessage(() => {
@@ -1170,8 +1170,8 @@ class DefaultClient implements Client {
11701170
case configJSON:
11711171
vscode.commands.getCommands(true).then((commands: string[]) => {
11721172
if (commands.indexOf("workbench.action.problems.focus") >= 0) {
1173-
vscode.commands.executeCommand("workbench.action.problems.focus");
1174-
}
1173+
vscode.commands.executeCommand("workbench.action.problems.focus");
1174+
}
11751175
});
11761176
this.handleConfigurationEditJSONCommand();
11771177
telemetry.logLanguageServerEvent("SettingsCommand", { "toast": "json" }, null);
@@ -1180,7 +1180,7 @@ class DefaultClient implements Client {
11801180
vscode.commands.getCommands(true).then((commands: string[]) => {
11811181
if (commands.indexOf("workbench.action.problems.focus") >= 0) {
11821182
vscode.commands.executeCommand("workbench.action.problems.focus");
1183-
}
1183+
}
11841184
});
11851185
this.handleConfigurationEditUICommand();
11861186
telemetry.logLanguageServerEvent("SettingsCommand", { "toast": "ui" }, null);

0 commit comments

Comments
 (0)