Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions .github/actions/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion .github/actions/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"@octokit/rest": "^19.0.3",
"@slack/web-api": "^6.9.1",
"applicationinsights": "^2.5.1",
"axios": "^1.6.8",
"axios": "^1.8.2",
"uuid": "^8.3.2"
},
"devDependencies": {
Expand Down
3 changes: 3 additions & 0 deletions Extension/.vscodeignore
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,9 @@ typings/**
import_edge_strings.js
localized_string_ids.h
translations_auto_pr.js
readme.developer.md
Reinstalling the Extension.md
*.d.ts

# ignore i18n language files
i18n/**
Expand Down
18 changes: 18 additions & 0 deletions Extension/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,23 @@
# C/C++ for Visual Studio Code Changelog

## Version 1.24.3: March 18, 2025
### Enhancements
* Add detected test frameworks to the Copilot context when `#cpp` is used. [PR #13285](https://github.com/microsoft/vscode-cpptools/pull/13285)
* Update clang-tidy and clang-format from 19.1.7 to 20.1.0. [PR #13348](https://github.com/microsoft/vscode-cpptools/pull/13348)
* Remove some unnecessary files from the vsix. [PR #13368](https://github.com/microsoft/vscode-cpptools/pull/13368)
* Improve the logging when a non-existent path is used for indexing. [PR #13372](https://github.com/microsoft/vscode-cpptools/pull/13372)
* Remove the `C_Cpp.updateChannel` setting. [PR #13376](https://github.com/microsoft/vscode-cpptools/pull/13376)
* Switch to only passing the root framework to clang-tidy.

### Bug Fixes
* Fix a bug with symlink resolving with `compile_commands.json`. [#13321](https://github.com/microsoft/vscode-cpptools/issues/13321)
* Fix a performance issue on macOS when processing `compile_commands.json` with a lot of include paths. [#13366](https://github.com/microsoft/vscode-cpptools/issues/13366)
* Fix some localization bugs. [PR #13373](https://github.com/microsoft/vscode-cpptools/pull/13373)
* Fix IntelliSense showing the wrong size of objects. [#13375](https://github.com/microsoft/vscode-cpptools/issues/13375)
* Fix a `${workspaceFolder}/*` include path not being used as a non-recursive browse path.
* Fix some potential IntelliSense process crashes when processing Copilot snippets.
* Fix a regression with compiler query caching in the database.

## Version 1.24.2: March 6, 2025
### Enhancements
* Various improvements to Copilot snippets. [PR #13296](https://github.com/microsoft/vscode-cpptools/pull/13296)
Expand Down
2 changes: 0 additions & 2 deletions Extension/bin/linux.clang.arm.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
{
"defaults": [
"-D__building_module(x)=0",
"--pack_alignment",
"8",
"-Dunix=1",
"-D__unix__=1",
"-D__linux__=1",
Expand Down
2 changes: 0 additions & 2 deletions Extension/bin/linux.clang.arm64.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
{
"defaults": [
"-D__building_module(x)=0",
"--pack_alignment",
"8",
"-Dunix=1",
"-D__unix__=1",
"-D__linux__=1",
Expand Down
2 changes: 0 additions & 2 deletions Extension/bin/linux.clang.x64.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
{
"defaults": [
"-D__building_module(x)=0",
"--pack_alignment",
"8",
"-Dunix=1",
"-D__unix__=1",
"-D__linux__=1",
Expand Down
2 changes: 0 additions & 2 deletions Extension/bin/linux.clang.x86.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
{
"defaults": [
"-D__building_module(x)=0",
"--pack_alignment",
"8",
"-Dunix=1",
"-D__unix__=1",
"-D__linux__=1",
Expand Down
2 changes: 0 additions & 2 deletions Extension/bin/linux.gcc.arm.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
{
"defaults": [
"--pack_alignment",
"8",
"-Dunix=1",
"-D__unix__=1",
"-D__linux__=1",
Expand Down
2 changes: 0 additions & 2 deletions Extension/bin/linux.gcc.arm64.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
{
"defaults": [
"--pack_alignment",
"8",
"-Dunix=1",
"-D__unix__=1",
"-D__linux__=1",
Expand Down
2 changes: 0 additions & 2 deletions Extension/bin/linux.gcc.x64.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
{
"defaults": [
"--pack_alignment",
"8",
"-Dunix=1",
"-D__unix__=1",
"-D__linux__=1",
Expand Down
2 changes: 0 additions & 2 deletions Extension/bin/linux.gcc.x86.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
{
"defaults": [
"--pack_alignment",
"8",
"-Dunix=1",
"-D__unix__=1",
"-D__linux__=1",
Expand Down
2 changes: 0 additions & 2 deletions Extension/bin/macos.clang.arm.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
{
"defaults": [
"-D__building_module(x)=0",
"--pack_alignment",
"8",
"-D__APPLE__=1",
"-D__MACH__=1",
"-D__arm__=1",
Expand Down
2 changes: 0 additions & 2 deletions Extension/bin/macos.clang.arm64.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
{
"defaults": [
"-D__building_module(x)=0",
"--pack_alignment",
"8",
"-D__APPLE__=1",
"-D__MACH__=1",
"-D__aarch64__=1",
Expand Down
2 changes: 0 additions & 2 deletions Extension/bin/macos.clang.x64.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
{
"defaults": [
"-D__building_module(x)=0",
"--pack_alignment",
"8",
"-D__APPLE__=1",
"-D__MACH__=1",
"-D__x86_64=1",
Expand Down
2 changes: 0 additions & 2 deletions Extension/bin/macos.clang.x86.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
{
"defaults": [
"-D__building_module(x)=0",
"--pack_alignment",
"8",
"-D__APPLE__=1",
"-D__MACH__=1",
"-D__i386=1",
Expand Down
2 changes: 0 additions & 2 deletions Extension/bin/macos.gcc.arm.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
{
"defaults": [
"--pack_alignment",
"8",
"-D__APPLE__=1",
"-D__MACH__=1",
"-D__arm__=1",
Expand Down
2 changes: 0 additions & 2 deletions Extension/bin/macos.gcc.arm64.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
{
"defaults": [
"--pack_alignment",
"8",
"-D__APPLE__=1",
"-D__MACH__=1",
"-D__aarch64__=1",
Expand Down
2 changes: 0 additions & 2 deletions Extension/bin/macos.gcc.x64.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
{
"defaults": [
"--pack_alignment",
"8",
"-D__APPLE__=1",
"-D__MACH__=1",
"-D__x86_64=1",
Expand Down
2 changes: 0 additions & 2 deletions Extension/bin/macos.gcc.x86.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
{
"defaults": [
"--pack_alignment",
"8",
"-D__APPLE__=1",
"-D__MACH__=1",
"-D__i386=1",
Expand Down
4 changes: 1 addition & 3 deletions Extension/bin/windows.clang.arm.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
{
"defaults": [
"-D__building_module(x)=0",
"--pack_alignment",
"8"
"-D__building_module(x)=0"
],
"defaults_op": "merge"
}
4 changes: 1 addition & 3 deletions Extension/bin/windows.clang.arm64.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
{
"defaults": [
"-D__building_module(x)=0",
"--pack_alignment",
"8"
"-D__building_module(x)=0"
],
"defaults_op": "merge"
}
4 changes: 1 addition & 3 deletions Extension/bin/windows.clang.x64.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
{
"defaults": [
"-D__building_module(x)=0",
"--pack_alignment",
"8"
"-D__building_module(x)=0"
],
"defaults_op": "merge"
}
4 changes: 1 addition & 3 deletions Extension/bin/windows.clang.x86.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
{
"defaults": [
"-D__building_module(x)=0",
"--pack_alignment",
"8"
"-D__building_module(x)=0"
],
"defaults_op": "merge"
}
2 changes: 0 additions & 2 deletions Extension/bin/windows.gcc.arm.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
{
"defaults": [
"--pack_alignment",
"8"
],
"defaults_op": "merge"
}
2 changes: 0 additions & 2 deletions Extension/bin/windows.gcc.arm64.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
{
"defaults": [
"--pack_alignment",
"8"
],
"defaults_op": "merge"
}
2 changes: 0 additions & 2 deletions Extension/bin/windows.gcc.x64.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
{
"defaults": [
"--pack_alignment",
"8"
],
"defaults_op": "merge"
}
2 changes: 0 additions & 2 deletions Extension/bin/windows.gcc.x86.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
{
"defaults": [
"--pack_alignment",
"8"
],
"defaults_op": "merge"
}
2 changes: 0 additions & 2 deletions Extension/bin/windows.msvc.arm.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@
"--microsoft_bugs",
"--microsoft_version",
"1943",
"--pack_alignment",
"8",
"-D_MSC_VER=1943",
"-D_MSC_FULL_VER=194334604",
"-D_MSC_BUILD=0",
Expand Down
2 changes: 0 additions & 2 deletions Extension/bin/windows.msvc.arm64.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@
"--microsoft_bugs",
"--microsoft_version",
"1943",
"--pack_alignment",
"8",
"-D_CPPUNWIND=1",
"-D_MSC_VER=1943",
"-D_MSC_FULL_VER=194334604",
Expand Down
2 changes: 0 additions & 2 deletions Extension/bin/windows.msvc.x64.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@
"--microsoft_bugs",
"--microsoft_version",
"1943",
"--pack_alignment",
"8",
"-D_CPPUNWIND=1",
"-D_MSC_VER=1943",
"-D_MSC_FULL_VER=194334604",
Expand Down
2 changes: 0 additions & 2 deletions Extension/bin/windows.msvc.x86.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@
"--microsoft_bugs",
"--microsoft_version",
"1943",
"--pack_alignment",
"8",
"-D_MSC_VER=1943",
"-D_MSC_FULL_VER=194334604",
"-D_MSC_BUILD=0",
Expand Down
4 changes: 1 addition & 3 deletions Extension/i18n/chs/package.i18n.json
Original file line number Diff line number Diff line change
Expand Up @@ -238,8 +238,6 @@
"c_cpp.configuration.default.systemIncludePath.markdownDescription": "要用于系统包含路径的值。如果设置,则其将替换通过 `compilerPath` 和 `compileCommands` 设置获取的系统包含路径。",
"c_cpp.configuration.default.enableConfigurationSquiggles.markdownDescription": "控制扩展是否将报告在 `c_cpp_properties.json` 中检测到的错误。",
"c_cpp.configuration.default.customConfigurationVariables.markdownDescription": "未设置 `customConfigurationVariables` 时要在配置中使用的值,或 `${default}` 在 `customConfigurationVariables` 中作为键存在时要插入的值。",
"c_cpp.configuration.updateChannel.markdownDescription": "设置为 `Insiders` 以自动下载并安装扩展的最新预览体验版本,其中包含即将推出的功能和 bug 修复。",
"c_cpp.configuration.updateChannel.deprecationMessage": "此设置已弃用。预发行版扩展现在可通过市场获得。",
"c_cpp.configuration.default.dotConfig.markdownDescription": "未指定 `dotConfig` 时要在配置中使用的值,或 `dotConfig` 中存在 `${default}` 时要插入的值。",
"c_cpp.configuration.experimentalFeatures.description": "控制“实验性”功能是否可用。",
"c_cpp.configuration.suggestSnippets.markdownDescription": "如果为 `true`,则由语言服务器提供片段。",
Expand Down Expand Up @@ -450,4 +448,4 @@
"c_cpp.configuration.refactoring.includeHeader.never.description": "从不包含头文件。",
"c_cpp.languageModelTools.configuration.displayName": "C/C++ 配置",
"c_cpp.languageModelTools.configuration.userDescription": "活动 C 或 C++ 文件的配置,例如语言标准版本和目标平台。"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@
*--------------------------------------------------------------------------------------------*/
// Do not edit this file. It is machine generated.
{
"copilot.relatedfilesprovider.error": "Error while retrieving result. Reason: {0}"
"copilot.relatedfilesprovider.error": "检索结果时出错。原因: {0}"
}
4 changes: 2 additions & 2 deletions Extension/i18n/chs/src/LanguageServer/lmTool.i18n.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@
*--------------------------------------------------------------------------------------------*/
// Do not edit this file. It is machine generated.
{
"copilot.projectcontext.error": "Error while retrieving the project context. Reason: {0}",
"copilot.cppcontext.error": "Error while retrieving the #cpp context."
"copilot.projectcontext.error": "检索项目上下文时出错。原因: {0}",
"copilot.cppcontext.error": "检索 #cpp 上下文时出错。"
}
4 changes: 1 addition & 3 deletions Extension/i18n/cht/package.i18n.json
Original file line number Diff line number Diff line change
Expand Up @@ -238,8 +238,6 @@
"c_cpp.configuration.default.systemIncludePath.markdownDescription": "要用於系統包含路徑的值。若設定,會覆寫透過 `compilerPath` 和 `compileCommands` 設定所取得的系統包含路徑。",
"c_cpp.configuration.default.enableConfigurationSquiggles.markdownDescription": "控制延伸模組是否會回報 `c_cpp_properties.json` 中偵測到的錯誤。",
"c_cpp.configuration.default.customConfigurationVariables.markdownDescription": "當未設定 `customConfigurationVariables` 時要在組態中使用的值,或當 `${default}` 在 `customConfigurationVariables` 中顯示為索引鍵時要插入的值。",
"c_cpp.configuration.updateChannel.markdownDescription": "設定為 `Insiders` 以自動下載並安裝最新的延伸模組測試人員組建,其中包括即將推出的功能和錯誤修正。",
"c_cpp.configuration.updateChannel.deprecationMessage": "此設定已過時。發行前版本擴充功能現在可透過 Marketplace 取得。",
"c_cpp.configuration.default.dotConfig.markdownDescription": "當 `dotConfig` 未指定時,要在設定中使用的值,或 `dotConfig` 中有 `${default}` 時要插入的值。",
"c_cpp.configuration.experimentalFeatures.description": "控制「實驗性」功能是否可用。",
"c_cpp.configuration.suggestSnippets.markdownDescription": "若為 `true`,則由語言伺服器提供程式碼片段。",
Expand Down Expand Up @@ -450,4 +448,4 @@
"c_cpp.configuration.refactoring.includeHeader.never.description": "永不包含標頭檔案。",
"c_cpp.languageModelTools.configuration.displayName": "C/C++ 設定",
"c_cpp.languageModelTools.configuration.userDescription": "使用中 C 或 C++ 檔案的設定,例如語言標準版本和目標平台。"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@
*--------------------------------------------------------------------------------------------*/
// Do not edit this file. It is machine generated.
{
"copilot.relatedfilesprovider.error": "Error while retrieving result. Reason: {0}"
"copilot.relatedfilesprovider.error": "擷取結果時發生錯誤。原因: {0}"
}
4 changes: 2 additions & 2 deletions Extension/i18n/cht/src/LanguageServer/lmTool.i18n.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@
*--------------------------------------------------------------------------------------------*/
// Do not edit this file. It is machine generated.
{
"copilot.projectcontext.error": "Error while retrieving the project context. Reason: {0}",
"copilot.cppcontext.error": "Error while retrieving the #cpp context."
"copilot.projectcontext.error": "擷取項目內容時發生錯誤。原因: {0}",
"copilot.cppcontext.error": "擷取 #cpp 內容時發生錯誤。"
}
Loading