Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge to insiders for 1.23.2 (2nd time) #13025

Merged
merged 2 commits into from
Dec 5, 2024
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
3 changes: 2 additions & 1 deletion Extension/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@

### Version 1.23.2: December 5, 2024
### Enhancements
* Changes to how paths are internally canonicalized on Linux and macOS, avoiding file system access to improve performance and delay resolution of symbolic links. [#12924](https://github.com/microsoft/vscode-cpptools/issues/12924)
* Add handling of `-fno-char8_t` and `-fchar8_t` compiler arguments. [#12968](https://github.com/microsoft/vscode-cpptools/issues/12968)
* Add support for providing well-known compiler argument information to Copilot Completions. [PR #12979](https://github.com/microsoft/vscode-cpptools/pull/12979)
* Fixed unnecessary cancellation of Copilot context requests. [PR #12988](https://github.com/microsoft/vscode-cpptools/pull/12988)
* Add support for passing an additional parameter to `C_Cpp.ConfigurationSelect` command. [PR #12993](https://github.com/microsoft/vscode-cpptools/pull/12993)
* Thank you for the contribution. [@adrianstephens](https://github.com/adrianstephens)
* Update clang-format and clang-tidy from 19.1.2 to 19.1.5.
* Changes to how paths are internally canonicalized on Linux and macOS, avoiding file system access to improve performance and delay resolution of symbolic links.

### Bug Fixes
* Increase clang-format timeout from 10 seconds to 30 seconds. [#10213](https://github.com/microsoft/vscode-cpptools/issues/10213)
Expand All @@ -21,6 +21,7 @@
* Thank you for the contribution. [@yiftahw](https://github.com/yiftahw) [PR #12948](https://github.com/microsoft/vscode-cpptools/pull/12948)
* Fix an issue in which a `didOpen` event was processed before the language client was fully started. [#12954](https://github.com/microsoft/vscode-cpptools/issues/12954)
* Fix IntelliSense issues related to large header files (>32K) and encodings other than UTF-8.
* Fix a deadlock.

### Version 1.23.1: November 6, 2024
### Bug Fixes
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"compiler.path.not.exists": "找不到 {0}。将忽略 {1} 任务。",
"pre.Launch.Task": "preLaunchTask: {0}",
"debugger.path.not.exists": "找不到 {0} 调试器。将忽略 {1} 的调试配置。",
"build.and.debug.active.file": "生成和调试活动文件",
"build.and.debug.active.file": "构建和调试活动文件",
"cl.exe.not.available": "仅当从 VS 开发人员命令提示符处运行 VS Code 时,{0} 生成和调试才可用。",
"lldb.find.failed": "缺少 lldb-mi 可执行文件的依赖项“{0}”。",
"lldb.search.paths": "搜索范围:",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
"path.is.not.a.file": "路径不是文件: {0}",
"path.is.not.a.directory": "路径不是目录: {0}",
"duplicate.name": "{0} 重复。配置名称应是唯一的。",
"cannot.find2": "无法找到“{0}”。",
"multiple.paths.not.allowed": "不允许使用多个路径。",
"paths.are.not.directories": "路径不是目录: {0}"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
// Do not edit this file. It is machine generated.
{
"copilot.relatedfilesprovider.error": "Error while retrieving result. Reason: {0}"
}
9 changes: 9 additions & 0 deletions Extension/i18n/chs/src/LanguageServer/lmTool.i18n.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
// 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."
}
3 changes: 2 additions & 1 deletion Extension/i18n/chs/src/nativeStrings.i18n.json
Original file line number Diff line number Diff line change
Expand Up @@ -315,5 +315,6 @@
"refactor_extract_reference_return_c_code": "函数必须通过引用返回一个值。C 代码不能返回引用。",
"refactor_extract_xborder_jump": "所选代码和外层代码之间的存在跳跃。",
"refactor_extract_missing_return": "在所选代码中,一些控制路径退出而没有设置返回值。这只受标量、数字、和指针返回类型支持。",
"expand_selection": "展开选择(以启用“提取到函数”)"
"expand_selection": "展开选择(以启用“提取到函数”)",
"file_not_found_in_path2": "在 compile_commands.json 文件中找不到 \"{0}\"。此文件将改用文件夹“{1}”中的 c_cpp_properties.json 中包含的 \"includePath\""
}
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@
{
"walkthrough.windows.title.open.dev.command.prompt": "使用开发人员命令提示符重新启动",
"walkthrough.windows.background.dev.command.prompt": "正在使用带有 MSVC 编译器的 Windows 机器,因此需要从开发人员命令提示符中启动 VS Code,以便所有环境变量都能正确设置。要使用开发人员命令提示符重新启动:",
"walkthrough.open.command.prompt": "通过在 Windows 开始菜单中键入 \"developer\" 来打开 VS 的开发人员命令提示提示。选择 VS 的开发人员命令提示提示,它将自动导航到当前打开的文件夹。",
"walkthrough.open.command.prompt": "通过在 Windows 开始菜单中键入 \"developer\" 来打开 VS 的开发人员命令提示。选择 VS 的开发人员命令提示,它将自动导航到当前打开的文件夹。",
"walkthrough.windows.press.f5": "在命令提示符中键入 \"code\",然后按 Enter。这应该重新启动 VS Code 并将你带回此演练。"
}
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,6 @@
"walkthrough.windows.command.prompt.name1": "VS 的 Developer 命令提示",
"walkthrough.windows.check.install": "在 VS 的开发人员命令提示中键入 {0} 以检查 MSVC 安装。你应该会看到包含版本和基本使用说明的版权消息。",
"walkthrough.windows.note2": "注意",
"walkthrough.windows.note2.text": "要从命令行或 VS Code 使用 MSVC,必须从 {0} 运行。普通 shell (例如 {1}、 {2})或 Windows 命令提示符未设置必要的路径环境变量",
"walkthrough.windows.note2.text": "要从命令行或 VS Code 使用 MSVC,必须从 {0} 运行。普通 shell (例如 {1}、{2} 或 Windows 命令提示符)未设置必要的路径环境变量",
"walkthrough.windows.command.prompt.name2": "VS 的开发人员命令提示"
}
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"walkthrough.windows.command.prompt.name1": "VS 的 Developer 命令提示",
"walkthrough.windows.check.install": "在 VS 的开发人员命令提示中键入 {0} 以检查 MSVC 安装。你应该会看到包含版本和基本使用说明的版权消息。",
"walkthrough.windows.note2": "注意",
"walkthrough.windows.note2.text": "要从命令行或 VS Code 使用 MSVC,必须从 {0} 运行。普通 shell (例如 {1}、 {2})或 Windows 命令提示符未设置必要的路径环境变量。",
"walkthrough.windows.note2.text": "要从命令行或 VS Code 使用 MSVC,必须从 {0} 运行。普通 shell (例如 {1}、{2} 或 Windows 命令提示符)未设置必要的路径环境变量。",
"walkthrough.windows.command.prompt.name2": "VS 的开发人员命令提示",
"walkthrough.windows.other.compilers": "其他编译器选项",
"walkthrough.windows.text3": "如果面向的是 Windows 中的 Linux,请查看{0}。或者,可{1}。",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"walkthrough.windows.command.prompt.name1": "VS 的 Developer 命令提示",
"walkthrough.windows.check.install": "在 VS 的开发人员命令提示中键入 {0} 以检查 MSVC 安装。你应该会看到包含版本和基本使用说明的版权消息。",
"walkthrough.windows.note2": "注意",
"walkthrough.windows.note2.text": "要从命令行或 VS Code 使用 MSVC,必须从 {0} 运行。普通 shell (例如 {1}、 {2})或 Windows 命令提示符未设置必要的路径环境变量。",
"walkthrough.windows.note2.text": "要从命令行或 VS Code 使用 MSVC,必须从 {0} 运行。普通 shell (例如 {1}、{2} 或 Windows 命令提示符)未设置必要的路径环境变量。",
"walkthrough.windows.command.prompt.name2": "VS 的开发人员命令提示",
"walkthrough.windows.other.compilers": "其他编译器选项",
"walkthrough.windows.text3": "如果面向的是 Windows 中的 Linux,请查看{0}。或者,可{1}。",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
"path.is.not.a.file": "路徑不是檔案: {0}",
"path.is.not.a.directory": "路徑不是目錄: {0}",
"duplicate.name": "{0} 重複。組態名稱應該是唯一的。",
"cannot.find2": "找不到 \"{0}\"",
"multiple.paths.not.allowed": "不允許使用多個路徑。",
"paths.are.not.directories": "路徑不是目錄: {0}"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
// Do not edit this file. It is machine generated.
{
"copilot.relatedfilesprovider.error": "Error while retrieving result. Reason: {0}"
}
9 changes: 9 additions & 0 deletions Extension/i18n/cht/src/LanguageServer/lmTool.i18n.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
// 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."
}
3 changes: 2 additions & 1 deletion Extension/i18n/cht/src/nativeStrings.i18n.json
Original file line number Diff line number Diff line change
Expand Up @@ -315,5 +315,6 @@
"refactor_extract_reference_return_c_code": "函式必須藉傳址傳回值。C 程式碼無法傳回參考。",
"refactor_extract_xborder_jump": "所選程式碼與周圍的程式碼之間存在跳躍。",
"refactor_extract_missing_return": "在選取的程式碼中,有一些控制項路徑未設定傳回值便結束。只有純量、數值與指標傳回類型支援此作法。",
"expand_selection": "展開選取範圍 (以啟用 [擷取至函式])"
"expand_selection": "展開選取範圍 (以啟用 [擷取至函式])",
"file_not_found_in_path2": "在 compile_commands.json 檔案中找不到 \"{0}\"。將對此檔案改用資料夾 '{1}' 中 c_cpp_properties.json 的 'includePath'。"
}
2 changes: 1 addition & 1 deletion Extension/i18n/csy/package.i18n.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"c_cpp.subheaders.intelliSense.title": "IntelliSense",
"c_cpp.subheaders.formatting.title": "Formátování",
"c_cpp.subheaders.codeDocumentation.title": "Dokumentace ke kódu",
"c_cpp.subheaders.codeAnalysis.title": "Code Analysis",
"c_cpp.subheaders.codeAnalysis.title": "Analýza kódu",
"c_cpp.subheaders.debugging.title": "Ladění",
"c_cpp.subheaders.resourceManagement.title": "Správa prostředků",
"c_cpp.subheaders.miscellaneous.title": "Různé",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
"path.is.not.a.file": "Cesta není soubor: {0}",
"path.is.not.a.directory": "Cesta není adresář: {0}",
"duplicate.name": "{0} je duplicitní. Název konfigurace by měl být jedinečný.",
"cannot.find2": "Nejde najít {0}.",
"multiple.paths.not.allowed": "Více cest není povoleno.",
"paths.are.not.directories": "Cesty nejsou adresáře: {0}"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
// Do not edit this file. It is machine generated.
{
"copilot.relatedfilesprovider.error": "Error while retrieving result. Reason: {0}"
}
9 changes: 9 additions & 0 deletions Extension/i18n/csy/src/LanguageServer/lmTool.i18n.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
// 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."
}
3 changes: 2 additions & 1 deletion Extension/i18n/csy/src/nativeStrings.i18n.json
Original file line number Diff line number Diff line change
Expand Up @@ -315,5 +315,6 @@
"refactor_extract_reference_return_c_code": "Funkce by musela vracet hodnotu pomocí odkazu. Kód C nemůže vracet odkazy.",
"refactor_extract_xborder_jump": "Přecházení mezi vybraným kódem a okolním kódem jsou k dispozici.",
"refactor_extract_missing_return": "Ve vybraném kódu se některé cesty ovládacího prvku ukončují bez nastavení návratové hodnoty. To se podporuje jenom u skalárních, numerických a ukazovacích návratových typů.",
"expand_selection": "Rozbalit výběr (pro povolení možnosti Extrahovat do funkce)"
"expand_selection": "Rozbalit výběr (pro povolení možnosti Extrahovat do funkce)",
"file_not_found_in_path2": "\"{0}\" not found in compile_commands.json files. 'includePath' from c_cpp_properties.json in folder '{1}' will be used for this file instead."
}
2 changes: 1 addition & 1 deletion Extension/i18n/deu/package.i18n.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
"c_cpp.command.RunCodeAnalysisOnActiveFile.title": "Codeanalyse für aktive Dateien ausführen",
"c_cpp.command.RunCodeAnalysisOnOpenFiles.title": "Codeanalyse für geöffnete Dateien ausführen",
"c_cpp.command.RunCodeAnalysisOnAllFiles.title": "Codeanalyse für alle Dateien ausführen",
"c_cpp.command.RemoveAllCodeAnalysisProblems.title": "Alle Code Analysis Probleme löschen",
"c_cpp.command.RemoveAllCodeAnalysisProblems.title": "Alle Codeanalyseprobleme löschen",
"c_cpp.command.BuildAndDebugFile.title": "C/C++-Datei debuggen",
"c_cpp.command.BuildAndRunFile.title": "C/C++-Datei ausführen",
"c_cpp.command.AddDebugConfiguration.title": "Debugkonfiguration hinzufügen",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
"path.is.not.a.file": "Der Pfad ist keine Datei: {0}",
"path.is.not.a.directory": "Der Pfad ist kein Verzeichnis: {0}",
"duplicate.name": "\"{0}\" ist ein Duplikat. Der Konfigurationsname muss eindeutig sein.",
"cannot.find2": "\"{0}\" wurde nicht gefunden.",
"multiple.paths.not.allowed": "Mehrere Pfade sind nicht zulässig.",
"paths.are.not.directories": "Pfade sind keine Verzeichnisse: {0}"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
// Do not edit this file. It is machine generated.
{
"copilot.relatedfilesprovider.error": "Error while retrieving result. Reason: {0}"
}
9 changes: 9 additions & 0 deletions Extension/i18n/deu/src/LanguageServer/lmTool.i18n.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
// 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."
}
3 changes: 2 additions & 1 deletion Extension/i18n/deu/src/nativeStrings.i18n.json
Original file line number Diff line number Diff line change
Expand Up @@ -315,5 +315,6 @@
"refactor_extract_reference_return_c_code": "Die Funktion muss einen Wert durch Verweis zurückgeben. C-Code kann keine Verweise zurückgeben.",
"refactor_extract_xborder_jump": "Es sind Sprünge zwischen dem ausgewählten und dem umgebenden Code vorhanden.",
"refactor_extract_missing_return": "Im ausgewählten Code werden einige Steuerungspfade beendet, ohne den Rückgabewert festzulegen. Dies wird nur für skalare, numerische und Zeigerrückgabetypen unterstützt.",
"expand_selection": "Auswahl erweitern (um „In Funktion extrahieren“ zu aktivieren)"
"expand_selection": "Auswahl erweitern (um „In Funktion extrahieren“ zu aktivieren)",
"file_not_found_in_path2": "„{0}“ wurde in compile_commands.json-Dateien nicht gefunden. Stattdessen wird „includePath“ aus „c_cpp_properties.json“ im Ordner „{1}“ für diese Datei verwendet."
}
2 changes: 1 addition & 1 deletion Extension/i18n/esn/package.i18n.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
"c_cpp.command.RunCodeAnalysisOnActiveFile.title": "Ejecutar análisis de código en el archivo activo",
"c_cpp.command.RunCodeAnalysisOnOpenFiles.title": "Ejecutar análisis de código en archivos abiertos",
"c_cpp.command.RunCodeAnalysisOnAllFiles.title": "Ejecutar análisis de código en todos los archivos",
"c_cpp.command.RemoveAllCodeAnalysisProblems.title": "Borrar todos los problemas de Code Analysis",
"c_cpp.command.RemoveAllCodeAnalysisProblems.title": "Borrar todos los problemas de análisis de código",
"c_cpp.command.BuildAndDebugFile.title": "Depurar archivo C/C++",
"c_cpp.command.BuildAndRunFile.title": "Ejecutar archivo C/C++",
"c_cpp.command.AddDebugConfiguration.title": "Agregar configuración de depuración",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
"path.is.not.a.file": "La ruta de acceso no es un archivo: {0}",
"path.is.not.a.directory": "La ruta de acceso no es un directorio: {0}",
"duplicate.name": "{0} es un duplicado. El nombre de la configuración debe ser único.",
"cannot.find2": "No se encuentra \"{0}\".",
"multiple.paths.not.allowed": "No se permiten varias rutas de acceso.",
"paths.are.not.directories": "Las rutas de acceso no son directorios: {0}"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
// Do not edit this file. It is machine generated.
{
"copilot.relatedfilesprovider.error": "Error while retrieving result. Reason: {0}"
}
9 changes: 9 additions & 0 deletions Extension/i18n/esn/src/LanguageServer/lmTool.i18n.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
// 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."
}
3 changes: 2 additions & 1 deletion Extension/i18n/esn/src/nativeStrings.i18n.json
Original file line number Diff line number Diff line change
Expand Up @@ -315,5 +315,6 @@
"refactor_extract_reference_return_c_code": "La función debería devolver un valor por referencia. El código C no puede devolver referencias.",
"refactor_extract_xborder_jump": "Hay saltos entre el código seleccionado y el código que lo rodea.",
"refactor_extract_missing_return": "En el código seleccionado, algunas rutas de control salen sin establecer el valor devuelto. Esto se admite solo para tipos de valor devuelto escalar, numérico y puntero.",
"expand_selection": "Expandir selección (para habilitar 'Extraer a función')"
"expand_selection": "Expandir selección (para habilitar 'Extraer a función')",
"file_not_found_in_path2": "\"{0}\" no se encuentra en compile_commands.json archivos. ''includePath'' de c_cpp_properties.json de la carpeta ''{1}'' se usará en su lugar para este archivo."
}
Loading
Loading