Skip to content

Commit a93f245

Browse files
authored
Merge branch 'main' into fix/llcdbg-crash
2 parents ffdd11d + feee0c6 commit a93f245

File tree

69 files changed

+892
-261
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

69 files changed

+892
-261
lines changed

.github/actions/package-lock.json

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/actions/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"@octokit/rest": "^21.1.1",
1616
"@slack/web-api": "^6.9.1",
1717
"applicationinsights": "^2.5.1",
18-
"axios": "^1.8.2",
18+
"axios": "^1.12.1",
1919
"uuid": "^8.3.2"
2020
},
2121
"devDependencies": {

Build/package/jobs_package_vsix.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,25 @@ parameters:
55
- name: srcDir
66
type: string
77
default: ''
8+
- name: signType
9+
type: string
10+
default: 'real'
811

912
jobs:
1013
- job: package
1114
displayName: Build ${{ parameters.vsixName }}
1215
timeoutInMinutes: 30
1316
cancelTimeoutInMinutes: 1
1417
templateContext:
18+
mb: # Enable the MicroBuild Signing toolset
19+
signing:
20+
enabled: true
21+
signType: ${{ parameters.signType }}
22+
zipSources: false
23+
${{ if eq(parameters.signType, 'real') }}:
24+
signWithProd: true
25+
featureFlags:
26+
autoBaseline: false
1527
outputs:
1628
- output: pipelineArtifact
1729
displayName: '${{ parameters.vsixName }}'
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
The documentation for c_cpp_properties.json has moved to https://code.visualstudio.com/docs/cpp/c-cpp-properties-schema-reference.
1+
The documentation for c_cpp_properties.json has moved to https://code.visualstudio.com/docs/cpp/customize-cpp-settings.

Extension/.vscodeignore

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -29,25 +29,25 @@ jobs/**
2929
cgmanifest.json
3030

3131
# ignore development files
32-
tsconfig.json
33-
test.tsconfig.json
34-
ui.tsconfig.json
35-
tslint.json
32+
.eslintignore
3633
.eslintrc.js
37-
webpack.config.js
38-
tscCompileList.txt
39-
gulpfile.js
4034
.gitattributes
4135
.gitignore
36+
gulpfile.js
37+
localized_string_ids.h
38+
readme.developer.md
39+
Reinstalling the Extension.md
40+
test.tsconfig.json
41+
translations_auto_pr.js
42+
tsconfig.json
43+
tslint.json
44+
tscCompileList.txt
45+
ui.tsconfig.json
46+
webpack.config.js
4247
CMakeLists.txt
4348
debugAdapters/install.lock*
4449
typings/**
4550
**/*.map
46-
import_edge_strings.js
47-
localized_string_ids.h
48-
translations_auto_pr.js
49-
readme.developer.md
50-
Reinstalling the Extension.md
5151
*.d.ts
5252

5353
# ignore i18n language files

Extension/CHANGELOG.md

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

3-
## Version 1.27.2: August 21, 2025
4-
### Bug Fix
5-
* Fix a crash regression with `__BASE_FILE__`. [#13866](https://github.com/microsoft/vscode-cpptools/issues/13866)
3+
## Version 1.28.3: October 16, 2025
4+
### Enhancements
5+
* Add IntelliSense support for c23 `bool`, `true`, and `false`. [#13737](https://github.com/microsoft/vscode-cpptools/issues/13737)
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.
68

7-
## Version 1.27.1: August 20, 2025
89
### Bug Fixes
9-
* Fix the `__FILE_NAME__` macro being undefined with IntelliSense when using GCC/Clang. [#11164](https://github.com/microsoft/vscode-cpptools/issues/11164)
10-
* Fix Doxygen generation overwriting a function signature. [#13839](https://github.com/microsoft/vscode-cpptools/issues/13839)
11-
* Fix a crash on Windows 7, 8, and 10 (Server 2008, 2012, and 2016). [#13851](https://github.com/microsoft/vscode-cpptools/issues/13851)
12-
* Fix "CMake Tools" translations. [PR #13854](https://github.com/microsoft/vscode-cpptools/pull/13854)
10+
* 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)
11+
* Fix the `C/C++ Properties Schema Reference` link in the configuration UI editor. [#13949](https://github.com/microsoft/vscode-cpptools/issues/13949)
12+
* 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 crash after changing settings while code analysis is running.
18+
* Fix a random memory corruption and deadlock (involving `task_deque`).
19+
* A potential fix for a crash (involving `line_offset_t`).
20+
21+
## Version 1.27.7: September 18, 2025
22+
### Enhancements
23+
* Show a warning when too many files are processed in a workspace. [#10828](https://github.com/microsoft/vscode-cpptools/issues/10828)
24+
* Improvements to GitHub Copilot activation. [PR #13924](https://github.com/microsoft/vscode-cpptools/pull/13924)
25+
* Thank you for the contribution. [@dbaeumer (Dirk Bäumer)](https://github.com/dbaeumer)
26+
* Add a `C_Cpp.windowsErrorReportingMode` setting and default to only enabling WER for the first crash in a session. [#13928](https://github.com/microsoft/vscode-cpptools/issues/13928)
1327

14-
## Version 1.27.0: August 7, 2025
1528
### Bug Fixes
29+
* Fix the `__FILE_NAME__` macro being undefined with IntelliSense when using GCC/Clang. [#11164](https://github.com/microsoft/vscode-cpptools/issues/11164)
1630
* Fix an IntelliSense crash in `add_cached_tokens_to_string`. [#11900](https://github.com/microsoft/vscode-cpptools/issues/11900)
1731
* Fix an IntelliSense crash in `find_subobject_for_interpreter_address`. [#12464](https://github.com/microsoft/vscode-cpptools/issues/12464)
32+
* Fix input delays when editing `c_cpp_properties.json`. [#13591](https://github.com/microsoft/vscode-cpptools/issues/13591)
1833
* Fix changes to the active field being lost in the configuration UI when navigating away. [#13636](https://github.com/microsoft/vscode-cpptools/issues/13636)
1934
* Fix compiler query failing on Windows if optional job-related API calls fail. [#13679](https://github.com/microsoft/vscode-cpptools/issues/13679)
2035
* Fix bugs with Doxygen comments. [#13725](https://github.com/microsoft/vscode-cpptools/issues/13725), [#13726](https://github.com/microsoft/vscode-cpptools/issues/13726), [#13745](https://github.com/microsoft/vscode-cpptools/issues/13745)
@@ -29,7 +44,30 @@
2944
* Fix `.txx` and `.tpp` not being handled as C++ header files. [#13808](https://github.com/microsoft/vscode-cpptools/issues/13808)
3045
* Fix an error when using GitHub Copilot with VS Code older than 1.90.0. [#13818](https://github.com/microsoft/vscode-cpptools/issues/13818)
3146
* Fix activation failing if the `c_cpp_properties.json` exists but fails to be opened. [#13829](https://github.com/microsoft/vscode-cpptools/issues/13829)
47+
* Fix crash recovery. [#13838](https://github.com/microsoft/vscode-cpptools/issues/13838)
48+
* Fix Doxygen generation overwriting a function signature. [#13839](https://github.com/microsoft/vscode-cpptools/issues/13839)
49+
* Fix a crash on Windows 7, 8, and 10 (Server 2008, 2012, and 2016). [#13851](https://github.com/microsoft/vscode-cpptools/issues/13851)
50+
* Fix "CMake Tools" translations. [PR #13854](https://github.com/microsoft/vscode-cpptools/pull/13854)
51+
* 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)
52+
* Fix a crash regression with `__BASE_FILE__`. [#13866](https://github.com/microsoft/vscode-cpptools/issues/13866)
53+
* Fix non-recursive browse paths from configuration providers. [#13886](https://github.com/microsoft/vscode-cpptools/issues/13886)
54+
* Fix an infinite recursion IntelliSense crash. [#13908](https://github.com/microsoft/vscode-cpptools/issues/13908)
55+
* Fix an IntelliSense crash during completion when using GCC ARM compilers. [#13925](https://github.com/microsoft/vscode-cpptools/issues/13925)
3256
* Fix an IntelliSense bug that could cause incorrect string lengths to be reported for string literals in files that use certain file encodings.
57+
* Fix an IntelliSense process crash involving `requires` expressions and templates.
58+
* Fix an IntelliSense process crash from deleting memory that is still in use.
59+
* Fix an IntelliSense process crash with `class_has_mutable_member`.
60+
* Fix a case of uninitialized memory in `cpptools-srv`.
61+
62+
## Version 1.26.5: September 10, 2025
63+
### Bug Fix
64+
* Fix extension activation getting stuck by GitHub Copilot activation. [#13914](https://github.com/microsoft/vscode-cpptools/issues/13914)
65+
* Thank you for the contribution. [@dbaeumer (Dirk Bäumer)](https://github.com/dbaeumer) [PR #13918](https://github.com/microsoft/vscode-cpptools/pull/13918)
66+
67+
## Version 1.26.4: September 9, 2025
68+
### Enhancement
69+
* Update GitHub Copilot APIs. [PR #13877](https://github.com/microsoft/vscode-cpptools/pull/13877)
70+
* Thank you for the contribution. [@dbaeumer (Dirk Bäumer)](https://github.com/dbaeumer)
3371

3472
## Version 1.26.3: June 24, 2025
3573
### New Feature

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/i18n/chs/package.i18n.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -255,6 +255,7 @@
255255
"c_cpp.configuration.vcpkg.enabled.markdownDescription": "为 [vcpkg 依存关系管理器](https://aka.ms/vcpkg/) 启用集成服务。",
256256
"c_cpp.configuration.addNodeAddonIncludePaths.markdownDescription": "当来自 `nan` 和 `node-addon-api` 的包含路径为依赖项时,请将其添加。",
257257
"c_cpp.configuration.copilotHover.markdownDescription": "如果为 `disabled`,则悬停时不会显示“生成 Copilot 摘要”选项。",
258+
"c_cpp.configuration.windowsErrorReportingMode.markdownDescription": "如果设置为 `disabled`,将禁用 Windows 错误报告。如果设置为 `default`,将启用 Windows 错误报告,但在当前会话中第一次崩溃后会被禁用。更改此设置不会影响当前正在运行的 IntelliSense 进程。",
258259
"c_cpp.configuration.renameRequiresIdentifier.markdownDescription": "如果为 `true`,则“重命名符号”将需要有效的 C/C++ 标识符。",
259260
"c_cpp.configuration.autocompleteAddParentheses.markdownDescription": "如果为 `true`,则自动完成将在函数调用后自动添加 `(` ,在这种情况下,也可以添加 `)` ,具体取决于 `#editor.autoClosingBrackets#` 设置的值。",
260261
"c_cpp.configuration.filesExclude.markdownDescription": "为排除文件夹(以及文件 - 如果更改了 `#C_Cpp.exclusionPolicy#`)配置 glob 模式。这些特定于 C/C++ 扩展,并且是 `#files.exclude#` 的补充,但与 `#files.exclude#` 不同,它们也适用于当前工作区文件夹之外的路径,并且不会从资源管理器视图中删除。详细了解 [glob 模式](https://code.visualstudio.com/docs/editor/codebasics#_advanced-search-options)。",
@@ -310,7 +311,7 @@
310311
"c_cpp.debuggers.miDebuggerServerAddress.description": "要连接到的 MI 调试程序服务器的网络地址(示例: localhost:1234)。",
311312
"c_cpp.debuggers.useExtendedRemote.description": "使用目标扩展远程模式连接到 MI 调试器服务器。",
312313
"c_cpp.debuggers.stopAtEntry.markdownDescription": "可选参数。如果为 `true`,则调试程序应在目标的入口点处停止。如果传递了 `processId`,则不起任何作用。",
313-
"c_cpp.debuggers.debugServerPath.description": "到要启动的调试服务器的可选完整路径。默认值为 null。该路径与 miDebuggerServerAddress 或带有运行 -target-select remote <server:port>customSetupCommand 的自有服务器配合使用。",
314+
"c_cpp.debuggers.debugServerPath.description": "要启动的调试服务器的可选完整路径。默认值为 null。该路径与 \"miDebuggerServerAddress\" 或带有运行 \"-target-select remote <server:port>\"\"customSetupCommand\" 的自有服务器配合使用。",
314315
"c_cpp.debuggers.debugServerArgs.description": "可选调试服务器参数。默认为 null。",
315316
"c_cpp.debuggers.serverStarted.description": "要在调试服务器输出中查找的可选服务器启动模式。默认为 null。",
316317
"c_cpp.debuggers.filterStdout.description": "在 stdout 流中搜索服务器启动模式,并将 stdout 记录到默认输出。默认为 true。",

Extension/i18n/chs/src/LanguageServer/client.i18n.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,9 @@
3030
"config.not.found": "找不到请求的配置名称: {0}",
3131
"unsupported.client": "不支持的客户端",
3232
"timed.out": "将在 {0} 毫秒后超时。",
33+
"parsing.stats.large.project": "已枚举 {0} 个文件,检测到 {1} 个 C/C++ 源文件。你可能需要考虑排除某些文件以获得更好的性能。",
34+
"learn.more": "了解详细信息",
35+
"dont.show.again": "不再显示",
3336
"update.intellisense.time": "更新 IntelliSense 时间(秒): {0}",
3437
"configurations.received": "已收到自定义配置:",
3538
"browse.configuration.received": "已收到自定义浏览配置: {0}",

Extension/i18n/chs/src/LanguageServer/configurations.i18n.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
// Do not edit this file. It is machine generated.
66
{
77
"incompatible.intellisense.mode": "IntelliSense 模式 {0} 与编译器路径不兼容。",
8+
"resolve.configuration.processed": "已在 {0} 秒内中处理 c_cpp_properties.json",
89
"failed.to.create.config.folder": "未能创建“{0}”",
910
"invalid.configuration.file": "配置文件无效。数组中须至少存在一个配置。",
1011
"unknown.properties.version": "c_cpp_properties.json 中发现未知的版本号。某些功能可能无法按预期工作。",
@@ -13,9 +14,13 @@
1314
"path.with.spaces": "找不到带有空格的编译器路径。如果这是为了包含编译器参数,请用双引号({0})括住编译器路径。",
1415
"cannot.find": "无法找到: {0}",
1516
"path.is.not.a.file": "路径不是文件: {0}",
17+
"resolve.includePath.took.too.long": "包含路径验证计算耗时 {0} 秒",
18+
"resolve.includePath.failed": "未能解析包含路径。错误: {0}",
1619
"wrapped.with.quotes": "不要在路径周围添加额外的引号。",
1720
"path.is.not.a.directory": "路径不是目录: {0}",
1821
"duplicate.name": "{0} 重复。配置名称应是唯一的。",
22+
"resolve.path.took.too.long": "路径计算耗时 {0} 秒",
23+
"resolve.path.failed": "未能解析路径 {0}。错误: {1}",
1924
"multiple.paths.not.allowed": "不允许使用多个路径。",
2025
"multiple.paths.should.be.separate.entries": "多个路径应是数组中的单独条目。",
2126
"paths.are.not.directories": "路径不是目录: {0}"

0 commit comments

Comments
 (0)