Skip to content

Commit 9869636

Browse files
authored
Merge pull request #13025 from microsoft/main
2 parents 99d98af + ee71e1f commit 9869636

File tree

72 files changed

+281
-59
lines changed

Some content is hidden

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

72 files changed

+281
-59
lines changed

Extension/CHANGELOG.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@
22

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

1313
### Bug Fixes
1414
* Increase clang-format timeout from 10 seconds to 30 seconds. [#10213](https://github.com/microsoft/vscode-cpptools/issues/10213)
@@ -21,6 +21,7 @@
2121
* Thank you for the contribution. [@yiftahw](https://github.com/yiftahw) [PR #12948](https://github.com/microsoft/vscode-cpptools/pull/12948)
2222
* 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)
2323
* Fix IntelliSense issues related to large header files (>32K) and encodings other than UTF-8.
24+
* Fix a deadlock.
2425

2526
### Version 1.23.1: November 6, 2024
2627
### Bug Fixes

Extension/i18n/chs/src/Debugger/configurationProvider.i18n.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"compiler.path.not.exists": "找不到 {0}。将忽略 {1} 任务。",
1717
"pre.Launch.Task": "preLaunchTask: {0}",
1818
"debugger.path.not.exists": "找不到 {0} 调试器。将忽略 {1} 的调试配置。",
19-
"build.and.debug.active.file": "生成和调试活动文件",
19+
"build.and.debug.active.file": "构建和调试活动文件",
2020
"cl.exe.not.available": "仅当从 VS 开发人员命令提示符处运行 VS Code 时,{0} 生成和调试才可用。",
2121
"lldb.find.failed": "缺少 lldb-mi 可执行文件的依赖项“{0}”。",
2222
"lldb.search.paths": "搜索范围:",

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

-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616
"path.is.not.a.file": "路径不是文件: {0}",
1717
"path.is.not.a.directory": "路径不是目录: {0}",
1818
"duplicate.name": "{0} 重复。配置名称应是唯一的。",
19-
"cannot.find2": "无法找到“{0}”。",
2019
"multiple.paths.not.allowed": "不允许使用多个路径。",
2120
"paths.are.not.directories": "路径不是目录: {0}"
2221
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
/*---------------------------------------------------------------------------------------------
2+
* Copyright (c) Microsoft Corporation. All rights reserved.
3+
* Licensed under the MIT License. See License.txt in the project root for license information.
4+
*--------------------------------------------------------------------------------------------*/
5+
// Do not edit this file. It is machine generated.
6+
{
7+
"copilot.relatedfilesprovider.error": "Error while retrieving result. Reason: {0}"
8+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
/*---------------------------------------------------------------------------------------------
2+
* Copyright (c) Microsoft Corporation. All rights reserved.
3+
* Licensed under the MIT License. See License.txt in the project root for license information.
4+
*--------------------------------------------------------------------------------------------*/
5+
// Do not edit this file. It is machine generated.
6+
{
7+
"copilot.projectcontext.error": "Error while retrieving the project context. Reason: {0}",
8+
"copilot.cppcontext.error": "Error while retrieving the #cpp context."
9+
}

Extension/i18n/chs/src/nativeStrings.i18n.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -315,5 +315,6 @@
315315
"refactor_extract_reference_return_c_code": "函数必须通过引用返回一个值。C 代码不能返回引用。",
316316
"refactor_extract_xborder_jump": "所选代码和外层代码之间的存在跳跃。",
317317
"refactor_extract_missing_return": "在所选代码中,一些控制路径退出而没有设置返回值。这只受标量、数字、和指针返回类型支持。",
318-
"expand_selection": "展开选择(以启用“提取到函数”)"
318+
"expand_selection": "展开选择(以启用“提取到函数”)",
319+
"file_not_found_in_path2": "在 compile_commands.json 文件中找不到 \"{0}\"。此文件将改用文件夹“{1}”中的 c_cpp_properties.json 中包含的 \"includePath\""
319320
}

Extension/i18n/chs/walkthrough/devcommandprompt/open-developer-command-prompt.md.i18n.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@
66
{
77
"walkthrough.windows.title.open.dev.command.prompt": "使用开发人员命令提示符重新启动",
88
"walkthrough.windows.background.dev.command.prompt": "正在使用带有 MSVC 编译器的 Windows 机器,因此需要从开发人员命令提示符中启动 VS Code,以便所有环境变量都能正确设置。要使用开发人员命令提示符重新启动:",
9-
"walkthrough.open.command.prompt": "通过在 Windows 开始菜单中键入 \"developer\" 来打开 VS 的开发人员命令提示提示。选择 VS 的开发人员命令提示提示,它将自动导航到当前打开的文件夹。",
9+
"walkthrough.open.command.prompt": "通过在 Windows 开始菜单中键入 \"developer\" 来打开 VS 的开发人员命令提示。选择 VS 的开发人员命令提示,它将自动导航到当前打开的文件夹。",
1010
"walkthrough.windows.press.f5": "在命令提示符中键入 \"code\",然后按 Enter。这应该重新启动 VS Code 并将你带回此演练。"
1111
}

Extension/i18n/chs/walkthrough/installcompiler/install-compiler-windows.md.i18n.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,6 @@
2020
"walkthrough.windows.command.prompt.name1": "VS 的 Developer 命令提示",
2121
"walkthrough.windows.check.install": "在 VS 的开发人员命令提示中键入 {0} 以检查 MSVC 安装。你应该会看到包含版本和基本使用说明的版权消息。",
2222
"walkthrough.windows.note2": "注意",
23-
"walkthrough.windows.note2.text": "要从命令行或 VS Code 使用 MSVC,必须从 {0} 运行。普通 shell (例如 {1}、 {2})或 Windows 命令提示符未设置必要的路径环境变量",
23+
"walkthrough.windows.note2.text": "要从命令行或 VS Code 使用 MSVC,必须从 {0} 运行。普通 shell (例如 {1}、{2} 或 Windows 命令提示符)未设置必要的路径环境变量",
2424
"walkthrough.windows.command.prompt.name2": "VS 的开发人员命令提示"
2525
}

Extension/i18n/chs/walkthrough/installcompiler/install-compiler-windows10.md.i18n.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"walkthrough.windows.command.prompt.name1": "VS 的 Developer 命令提示",
1515
"walkthrough.windows.check.install": "在 VS 的开发人员命令提示中键入 {0} 以检查 MSVC 安装。你应该会看到包含版本和基本使用说明的版权消息。",
1616
"walkthrough.windows.note2": "注意",
17-
"walkthrough.windows.note2.text": "要从命令行或 VS Code 使用 MSVC,必须从 {0} 运行。普通 shell (例如 {1}、 {2})或 Windows 命令提示符未设置必要的路径环境变量",
17+
"walkthrough.windows.note2.text": "要从命令行或 VS Code 使用 MSVC,必须从 {0} 运行。普通 shell (例如 {1}、{2} 或 Windows 命令提示符)未设置必要的路径环境变量",
1818
"walkthrough.windows.command.prompt.name2": "VS 的开发人员命令提示",
1919
"walkthrough.windows.other.compilers": "其他编译器选项",
2020
"walkthrough.windows.text3": "如果面向的是 Windows 中的 Linux,请查看{0}。或者,可{1}。",

Extension/i18n/chs/walkthrough/installcompiler/install-compiler-windows11.md.i18n.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"walkthrough.windows.command.prompt.name1": "VS 的 Developer 命令提示",
1515
"walkthrough.windows.check.install": "在 VS 的开发人员命令提示中键入 {0} 以检查 MSVC 安装。你应该会看到包含版本和基本使用说明的版权消息。",
1616
"walkthrough.windows.note2": "注意",
17-
"walkthrough.windows.note2.text": "要从命令行或 VS Code 使用 MSVC,必须从 {0} 运行。普通 shell (例如 {1}、 {2})或 Windows 命令提示符未设置必要的路径环境变量",
17+
"walkthrough.windows.note2.text": "要从命令行或 VS Code 使用 MSVC,必须从 {0} 运行。普通 shell (例如 {1}、{2} 或 Windows 命令提示符)未设置必要的路径环境变量",
1818
"walkthrough.windows.command.prompt.name2": "VS 的开发人员命令提示",
1919
"walkthrough.windows.other.compilers": "其他编译器选项",
2020
"walkthrough.windows.text3": "如果面向的是 Windows 中的 Linux,请查看{0}。或者,可{1}。",

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

-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616
"path.is.not.a.file": "路徑不是檔案: {0}",
1717
"path.is.not.a.directory": "路徑不是目錄: {0}",
1818
"duplicate.name": "{0} 重複。組態名稱應該是唯一的。",
19-
"cannot.find2": "找不到 \"{0}\"",
2019
"multiple.paths.not.allowed": "不允許使用多個路徑。",
2120
"paths.are.not.directories": "路徑不是目錄: {0}"
2221
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
/*---------------------------------------------------------------------------------------------
2+
* Copyright (c) Microsoft Corporation. All rights reserved.
3+
* Licensed under the MIT License. See License.txt in the project root for license information.
4+
*--------------------------------------------------------------------------------------------*/
5+
// Do not edit this file. It is machine generated.
6+
{
7+
"copilot.relatedfilesprovider.error": "Error while retrieving result. Reason: {0}"
8+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
/*---------------------------------------------------------------------------------------------
2+
* Copyright (c) Microsoft Corporation. All rights reserved.
3+
* Licensed under the MIT License. See License.txt in the project root for license information.
4+
*--------------------------------------------------------------------------------------------*/
5+
// Do not edit this file. It is machine generated.
6+
{
7+
"copilot.projectcontext.error": "Error while retrieving the project context. Reason: {0}",
8+
"copilot.cppcontext.error": "Error while retrieving the #cpp context."
9+
}

Extension/i18n/cht/src/nativeStrings.i18n.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -315,5 +315,6 @@
315315
"refactor_extract_reference_return_c_code": "函式必須藉傳址傳回值。C 程式碼無法傳回參考。",
316316
"refactor_extract_xborder_jump": "所選程式碼與周圍的程式碼之間存在跳躍。",
317317
"refactor_extract_missing_return": "在選取的程式碼中,有一些控制項路徑未設定傳回值便結束。只有純量、數值與指標傳回類型支援此作法。",
318-
"expand_selection": "展開選取範圍 (以啟用 [擷取至函式])"
318+
"expand_selection": "展開選取範圍 (以啟用 [擷取至函式])",
319+
"file_not_found_in_path2": "在 compile_commands.json 檔案中找不到 \"{0}\"。將對此檔案改用資料夾 '{1}' 中 c_cpp_properties.json 的 'includePath'。"
319320
}

Extension/i18n/csy/package.i18n.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"c_cpp.subheaders.intelliSense.title": "IntelliSense",
88
"c_cpp.subheaders.formatting.title": "Formátování",
99
"c_cpp.subheaders.codeDocumentation.title": "Dokumentace ke kódu",
10-
"c_cpp.subheaders.codeAnalysis.title": "Code Analysis",
10+
"c_cpp.subheaders.codeAnalysis.title": "Analýza kódu",
1111
"c_cpp.subheaders.debugging.title": "Ladění",
1212
"c_cpp.subheaders.resourceManagement.title": "Správa prostředků",
1313
"c_cpp.subheaders.miscellaneous.title": "Různé",

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

-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616
"path.is.not.a.file": "Cesta není soubor: {0}",
1717
"path.is.not.a.directory": "Cesta není adresář: {0}",
1818
"duplicate.name": "{0} je duplicitní. Název konfigurace by měl být jedinečný.",
19-
"cannot.find2": "Nejde najít {0}.",
2019
"multiple.paths.not.allowed": "Více cest není povoleno.",
2120
"paths.are.not.directories": "Cesty nejsou adresáře: {0}"
2221
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
/*---------------------------------------------------------------------------------------------
2+
* Copyright (c) Microsoft Corporation. All rights reserved.
3+
* Licensed under the MIT License. See License.txt in the project root for license information.
4+
*--------------------------------------------------------------------------------------------*/
5+
// Do not edit this file. It is machine generated.
6+
{
7+
"copilot.relatedfilesprovider.error": "Error while retrieving result. Reason: {0}"
8+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
/*---------------------------------------------------------------------------------------------
2+
* Copyright (c) Microsoft Corporation. All rights reserved.
3+
* Licensed under the MIT License. See License.txt in the project root for license information.
4+
*--------------------------------------------------------------------------------------------*/
5+
// Do not edit this file. It is machine generated.
6+
{
7+
"copilot.projectcontext.error": "Error while retrieving the project context. Reason: {0}",
8+
"copilot.cppcontext.error": "Error while retrieving the #cpp context."
9+
}

Extension/i18n/csy/src/nativeStrings.i18n.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -315,5 +315,6 @@
315315
"refactor_extract_reference_return_c_code": "Funkce by musela vracet hodnotu pomocí odkazu. Kód C nemůže vracet odkazy.",
316316
"refactor_extract_xborder_jump": "Přecházení mezi vybraným kódem a okolním kódem jsou k dispozici.",
317317
"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ů.",
318-
"expand_selection": "Rozbalit výběr (pro povolení možnosti Extrahovat do funkce)"
318+
"expand_selection": "Rozbalit výběr (pro povolení možnosti Extrahovat do funkce)",
319+
"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."
319320
}

Extension/i18n/deu/package.i18n.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
"c_cpp.command.RunCodeAnalysisOnActiveFile.title": "Codeanalyse für aktive Dateien ausführen",
4040
"c_cpp.command.RunCodeAnalysisOnOpenFiles.title": "Codeanalyse für geöffnete Dateien ausführen",
4141
"c_cpp.command.RunCodeAnalysisOnAllFiles.title": "Codeanalyse für alle Dateien ausführen",
42-
"c_cpp.command.RemoveAllCodeAnalysisProblems.title": "Alle Code Analysis Probleme löschen",
42+
"c_cpp.command.RemoveAllCodeAnalysisProblems.title": "Alle Codeanalyseprobleme löschen",
4343
"c_cpp.command.BuildAndDebugFile.title": "C/C++-Datei debuggen",
4444
"c_cpp.command.BuildAndRunFile.title": "C/C++-Datei ausführen",
4545
"c_cpp.command.AddDebugConfiguration.title": "Debugkonfiguration hinzufügen",

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

-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616
"path.is.not.a.file": "Der Pfad ist keine Datei: {0}",
1717
"path.is.not.a.directory": "Der Pfad ist kein Verzeichnis: {0}",
1818
"duplicate.name": "\"{0}\" ist ein Duplikat. Der Konfigurationsname muss eindeutig sein.",
19-
"cannot.find2": "\"{0}\" wurde nicht gefunden.",
2019
"multiple.paths.not.allowed": "Mehrere Pfade sind nicht zulässig.",
2120
"paths.are.not.directories": "Pfade sind keine Verzeichnisse: {0}"
2221
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
/*---------------------------------------------------------------------------------------------
2+
* Copyright (c) Microsoft Corporation. All rights reserved.
3+
* Licensed under the MIT License. See License.txt in the project root for license information.
4+
*--------------------------------------------------------------------------------------------*/
5+
// Do not edit this file. It is machine generated.
6+
{
7+
"copilot.relatedfilesprovider.error": "Error while retrieving result. Reason: {0}"
8+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
/*---------------------------------------------------------------------------------------------
2+
* Copyright (c) Microsoft Corporation. All rights reserved.
3+
* Licensed under the MIT License. See License.txt in the project root for license information.
4+
*--------------------------------------------------------------------------------------------*/
5+
// Do not edit this file. It is machine generated.
6+
{
7+
"copilot.projectcontext.error": "Error while retrieving the project context. Reason: {0}",
8+
"copilot.cppcontext.error": "Error while retrieving the #cpp context."
9+
}

Extension/i18n/deu/src/nativeStrings.i18n.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -315,5 +315,6 @@
315315
"refactor_extract_reference_return_c_code": "Die Funktion muss einen Wert durch Verweis zurückgeben. C-Code kann keine Verweise zurückgeben.",
316316
"refactor_extract_xborder_jump": "Es sind Sprünge zwischen dem ausgewählten und dem umgebenden Code vorhanden.",
317317
"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.",
318-
"expand_selection": "Auswahl erweitern (um „In Funktion extrahieren“ zu aktivieren)"
318+
"expand_selection": "Auswahl erweitern (um „In Funktion extrahieren“ zu aktivieren)",
319+
"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."
319320
}

Extension/i18n/esn/package.i18n.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
"c_cpp.command.RunCodeAnalysisOnActiveFile.title": "Ejecutar análisis de código en el archivo activo",
4040
"c_cpp.command.RunCodeAnalysisOnOpenFiles.title": "Ejecutar análisis de código en archivos abiertos",
4141
"c_cpp.command.RunCodeAnalysisOnAllFiles.title": "Ejecutar análisis de código en todos los archivos",
42-
"c_cpp.command.RemoveAllCodeAnalysisProblems.title": "Borrar todos los problemas de Code Analysis",
42+
"c_cpp.command.RemoveAllCodeAnalysisProblems.title": "Borrar todos los problemas de análisis de código",
4343
"c_cpp.command.BuildAndDebugFile.title": "Depurar archivo C/C++",
4444
"c_cpp.command.BuildAndRunFile.title": "Ejecutar archivo C/C++",
4545
"c_cpp.command.AddDebugConfiguration.title": "Agregar configuración de depuración",

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

-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616
"path.is.not.a.file": "La ruta de acceso no es un archivo: {0}",
1717
"path.is.not.a.directory": "La ruta de acceso no es un directorio: {0}",
1818
"duplicate.name": "{0} es un duplicado. El nombre de la configuración debe ser único.",
19-
"cannot.find2": "No se encuentra \"{0}\".",
2019
"multiple.paths.not.allowed": "No se permiten varias rutas de acceso.",
2120
"paths.are.not.directories": "Las rutas de acceso no son directorios: {0}"
2221
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
/*---------------------------------------------------------------------------------------------
2+
* Copyright (c) Microsoft Corporation. All rights reserved.
3+
* Licensed under the MIT License. See License.txt in the project root for license information.
4+
*--------------------------------------------------------------------------------------------*/
5+
// Do not edit this file. It is machine generated.
6+
{
7+
"copilot.relatedfilesprovider.error": "Error while retrieving result. Reason: {0}"
8+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
/*---------------------------------------------------------------------------------------------
2+
* Copyright (c) Microsoft Corporation. All rights reserved.
3+
* Licensed under the MIT License. See License.txt in the project root for license information.
4+
*--------------------------------------------------------------------------------------------*/
5+
// Do not edit this file. It is machine generated.
6+
{
7+
"copilot.projectcontext.error": "Error while retrieving the project context. Reason: {0}",
8+
"copilot.cppcontext.error": "Error while retrieving the #cpp context."
9+
}

Extension/i18n/esn/src/nativeStrings.i18n.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -315,5 +315,6 @@
315315
"refactor_extract_reference_return_c_code": "La función debería devolver un valor por referencia. El código C no puede devolver referencias.",
316316
"refactor_extract_xborder_jump": "Hay saltos entre el código seleccionado y el código que lo rodea.",
317317
"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.",
318-
"expand_selection": "Expandir selección (para habilitar 'Extraer a función')"
318+
"expand_selection": "Expandir selección (para habilitar 'Extraer a función')",
319+
"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."
319320
}

0 commit comments

Comments
 (0)