Skip to content

Commit 9f40774

Browse files
authored
Merge pull request #13913 from microsoft/main
Merge for 1.27.4 (2nd time)
2 parents 17a1b31 + d7d5aaf commit 9f40774

File tree

2 files changed

+12
-4
lines changed

2 files changed

+12
-4
lines changed

Extension/CHANGELOG.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
# C/C++ for Visual Studio Code Changelog
22

3-
## Version 1.27.4: September 8, 2025
3+
## Version 1.27.4: September 9, 2025
44
### Bug Fixes
55
* Fix crash recovery. [#13838](https://github.com/microsoft/vscode-cpptools/issues/13838)
6+
* Fix the language server getting stuck by a notification message box after a configuration provider times out. [#13862](https://github.com/microsoft/vscode-cpptools/issues/13862)
67
* Fix a case of unintialized memory in cpptools-srv.
78
* Fix excessive cpptools messages when scrolling.
89

@@ -49,6 +50,10 @@
4950
* Fix activation failing if the `c_cpp_properties.json` exists but fails to be opened. [#13829](https://github.com/microsoft/vscode-cpptools/issues/13829)
5051
* Fix an IntelliSense bug that could cause incorrect string lengths to be reported for string literals in files that use certain file encodings.
5152

53+
## Version 1.26.4: September 9, 2025
54+
* Update GitHub Copilot APIs. [PR #13877](https://github.com/microsoft/vscode-cpptools/pull/13877)
55+
* Thank you for the contribution. [@dbaeumer (Dirk Bäumer)](https://github.com/dbaeumer)
56+
5257
## Version 1.26.3: June 24, 2025
5358
### New Feature
5459
* Improve the context provided for C++ Copilot suggestions.

Extension/src/LanguageServer/client.ts

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2284,9 +2284,12 @@ export class DefaultClient implements Client {
22842284
message += ` (${err})`;
22852285
}
22862286

2287-
if (await vscode.window.showInformationMessage(message, dismiss, disable) === disable) {
2288-
settings.toggleSetting("configurationWarnings", "enabled", "disabled");
2289-
}
2287+
// Do not await here, as that would prevent the function from returning until the user dismisses the message.
2288+
void vscode.window.showInformationMessage(message, dismiss, disable).then(result => {
2289+
if (result === disable) {
2290+
settings.toggleSetting("configurationWarnings", "enabled", "disabled");
2291+
}
2292+
});
22902293
}
22912294
}
22922295
return result;

0 commit comments

Comments
 (0)