From 0bd5350af6981fa2a12334a586c7a7a0374ea8ff Mon Sep 17 00:00:00 2001 From: Colen Garoutte-Carson <49173979+Colengms@users.noreply.github.com> Date: Mon, 8 Sep 2025 15:56:27 -0700 Subject: [PATCH 1/2] Fix hang due to config provider timeout (#13909) --- Extension/src/LanguageServer/client.ts | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/Extension/src/LanguageServer/client.ts b/Extension/src/LanguageServer/client.ts index 3ac822a10..f14f4efb2 100644 --- a/Extension/src/LanguageServer/client.ts +++ b/Extension/src/LanguageServer/client.ts @@ -2284,9 +2284,12 @@ export class DefaultClient implements Client { message += ` (${err})`; } - if (await vscode.window.showInformationMessage(message, dismiss, disable) === disable) { - settings.toggleSetting("configurationWarnings", "enabled", "disabled"); - } + // Do not await here, as that would prevent the function from returning until the user dismisses the message. + void vscode.window.showInformationMessage(message, dismiss, disable).then(result => { + if (result === disable) { + settings.toggleSetting("configurationWarnings", "enabled", "disabled"); + } + }); } } return result; From d7d5aaf84d1043bcc4650cc7f76d339788e31a3e Mon Sep 17 00:00:00 2001 From: Sean McManus Date: Tue, 9 Sep 2025 10:22:04 -0700 Subject: [PATCH 2/2] Add another changelog entry. (#13912) --- Extension/CHANGELOG.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Extension/CHANGELOG.md b/Extension/CHANGELOG.md index a50e91277..1e65389a5 100644 --- a/Extension/CHANGELOG.md +++ b/Extension/CHANGELOG.md @@ -1,8 +1,9 @@ # C/C++ for Visual Studio Code Changelog -## Version 1.27.4: September 8, 2025 +## Version 1.27.4: September 9, 2025 ### Bug Fixes * Fix crash recovery. [#13838](https://github.com/microsoft/vscode-cpptools/issues/13838) +* 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) * Fix a case of unintialized memory in cpptools-srv. * Fix excessive cpptools messages when scrolling. @@ -49,6 +50,10 @@ * Fix activation failing if the `c_cpp_properties.json` exists but fails to be opened. [#13829](https://github.com/microsoft/vscode-cpptools/issues/13829) * Fix an IntelliSense bug that could cause incorrect string lengths to be reported for string literals in files that use certain file encodings. +## Version 1.26.4: September 9, 2025 +* Update GitHub Copilot APIs. [PR #13877](https://github.com/microsoft/vscode-cpptools/pull/13877) + * Thank you for the contribution. [@dbaeumer (Dirk Bäumer)](https://github.com/dbaeumer) + ## Version 1.26.3: June 24, 2025 ### New Feature * Improve the context provided for C++ Copilot suggestions.