Skip to content

Commit 97d3735

Browse files
Merge for 1.28.2 (2nd time) (#13997)
* Fix some invalid assumptions for tasks (#13989) * Update changeling and version for 1.28.2 (#13990) * Update changelog and version for 1.28.2. * Remove llvm from cgmanifest. (#13994) * Update changelog. (#13996) --------- Co-authored-by: Bob Brown <[email protected]>
2 parents f33c3b6 + fe0c873 commit 97d3735

File tree

4 files changed

+15
-25
lines changed

4 files changed

+15
-25
lines changed

Extension/CHANGELOG.md

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

3-
## Version 1.28.1: October 7, 2025
4-
### Bug Fixes
5-
* Fix extension activation getting stuck when certain SSH config files are processed (by the SSH targets view feature). [#13966](https://github.com/microsoft/vscode-cpptools/issues/13966)
6-
* Fix document symbols randomly showing previous versions of symbols after they are modified. [#13967](https://github.com/microsoft/vscode-cpptools/issues/13967)
7-
* Prevent .js files from being tag parsed to avoid a crash. [#13980](https://github.com/microsoft/vscode-cpptools/issues/13980)
8-
* A potential fix for a crash.
9-
10-
## Version 1.28.0: September 25, 2025
3+
## Version 1.28.2: October 14, 2025
114
### Enhancements
125
* Add IntelliSense support for c23 `bool`, `true`, and `false`. [#13737](https://github.com/microsoft/vscode-cpptools/issues/13737)
13-
* Update the bundled `clang-tidy` and `clang-format` from 20.1.7 to 21.1.2.
6+
* Add missing C/C++ keyword completions for newer language standards. [#13982](https://github.com/microsoft/vscode-cpptools/issues/13982)
7+
* Update the bundled `clang-tidy` and `clang-format` from 20.1.7 to 21.1.3.
148

159
### Bug Fixes
1610
* Fix `cpptools` getting stuck when `clang-format` is invoked on a file in a `.clang-format-ignore`. [#13937](https://github.com/microsoft/vscode-cpptools/issues/13937)
1711
* Fix the `C/C++ Properties Schema Reference` link in the configuration UI editor. [#13949](https://github.com/microsoft/vscode-cpptools/issues/13949)
1812
* Fix a crash with `preReleaseCheck`. [#13953](https://github.com/microsoft/vscode-cpptools/issues/13953)
13+
* Fix extension activation getting stuck when certain SSH config files are processed (by the SSH targets view feature). [#13966](https://github.com/microsoft/vscode-cpptools/issues/13966)
14+
* Fix document symbols randomly showing previous versions of symbols after they are modified. [#13967](https://github.com/microsoft/vscode-cpptools/issues/13967)
15+
* Prevent tag parsing of .js files to avoid a crash. [#13980](https://github.com/microsoft/vscode-cpptools/issues/13980)
16+
* Fix some invalid assumptions for cppbuild tasks. [PR #13989](https://github.com/microsoft/vscode-cpptools/pull/13989)
17+
* Fix a random memory corruption and deadlock (involving `task_deque`).
18+
* A potential fix for a crash (involving `line_offset_t`).
1919

2020
## Version 1.27.7: September 18, 2025
2121
### Enhancements

Extension/cgmanifest.json

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,6 @@
11
{
22
"$schema": "https://json.schemastore.org/component-detection-manifest.json",
33
"Registrations": [
4-
{
5-
"Component": {
6-
"Type": "git",
7-
"Git": {
8-
"RepositoryUrl": "https://github.com/llvm/llvm-project",
9-
"CommitHash": "0d44201451f03ba907cdb268ddddfc3fa38a0ebd"
10-
},
11-
"DevelopmentDependency": true
12-
}
13-
},
144
{
155
"Component": {
166
"Type": "git",

Extension/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "cpptools",
33
"displayName": "C/C++",
44
"description": "C/C++ IntelliSense, debugging, and code browsing.",
5-
"version": "1.28.1-main",
5+
"version": "1.28.2-main",
66
"publisher": "ms-vscode",
77
"icon": "LanguageCCPP_color_128x.png",
88
"readme": "README.md",

Extension/src/LanguageServer/cppBuildTaskProvider.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@ export class CppBuildTaskProvider implements TaskProvider {
245245
const cppBuildTask: CppBuildTask = new Task(definition, TaskScope.Workspace, task.label, ext.CppSourceStr);
246246
cppBuildTask.detail = task.detail;
247247
cppBuildTask.existing = true;
248-
if (task.group.isDefault) {
248+
if (!util.isString(task.group) && task.group.isDefault) {
249249
cppBuildTask.isDefault = true;
250250
}
251251
return cppBuildTask;
@@ -292,9 +292,9 @@ export class CppBuildTaskProvider implements TaskProvider {
292292
if (setAsDefault) {
293293
rawTasksJson.tasks.forEach((task: any) => {
294294
if (task.label === selectedTask?.definition.label) {
295-
task.group = { kind: "build", "isDefault": true };
296-
} else if (task.group.kind && task.group.kind === "build" && task.group.isDefault && task.group.isDefault === true) {
297-
task.group = "build";
295+
task.group = { kind: "build", isDefault: true };
296+
} else if (!util.isString(task.group) && task.group?.kind === "build" && task.group?.isDefault) {
297+
task.group.isDefault = false;
298298
}
299299
});
300300
}
@@ -303,7 +303,7 @@ export class CppBuildTaskProvider implements TaskProvider {
303303
const newTask: any = {
304304
...selectedTask.definition,
305305
problemMatcher: selectedTask.problemMatchers,
306-
group: setAsDefault ? { kind: "build", "isDefault": true } : "build",
306+
group: setAsDefault ? { kind: "build", isDefault: true } : "build",
307307
detail: localize("task.generated.by.debugger", "Task generated by Debugger.")
308308
};
309309
rawTasksJson.tasks.push(newTask);

0 commit comments

Comments
 (0)