diff --git a/Extension/.vscode/launch.json b/Extension/.vscode/launch.json index a0ec326742..e52864f10d 100644 --- a/Extension/.vscode/launch.json +++ b/Extension/.vscode/launch.json @@ -98,7 +98,7 @@ "request": "launch", "runtimeExecutable": "${execPath}", "args": [ - "${workspaceFolder}/test/integrationTests/testAssets/SimpleCppProject", + "${workspaceFolder}/test/integrationTests/testAssets/SimpleCppProject/simpleCppProject.code-workspace", "--extensionDevelopmentPath=${workspaceFolder}", "--extensionTestsPath=${workspaceFolder}/out/test/integrationTests/languageServer/index" ], diff --git a/Extension/CHANGELOG.md b/Extension/CHANGELOG.md index 892d5c9ff3..340d05c35a 100644 --- a/Extension/CHANGELOG.md +++ b/Extension/CHANGELOG.md @@ -1,5 +1,15 @@ # C/C++ for Visual Studio Code Change Log +## Version 1.2.2: February 25, 2021 +## Bug Fixes +* Fix IntelliSense errors with variable length arrays with C Clang mode. [#6500](https://github.com/microsoft/vscode-cpptools/issues/6500) +* Fix for random IntelliSense communication failures on Mac. [#6809](https://github.com/microsoft/vscode-cpptools/issues/6809), [#6958](https://github.com/microsoft/vscode-cpptools/issues/6958) +* Fix an extension activation failure when a non-existent folder exists in the workspace. [#6981](https://github.com/microsoft/vscode-cpptools/issues/6981) +* Fix infinite loops during document symbol processing. [#6988](https://github.com/microsoft/vscode-cpptools/issues/6988), [#7012](https://github.com/microsoft/vscode-cpptools/issues/7012), [#7022](https://github.com/microsoft/vscode-cpptools/issues/7022), [#7025](https://github.com/microsoft/vscode-cpptools/issues/7025) +* Fix a regression with handling of -isysroot/--sysroot compiler arguments. [#6992](https://github.com/microsoft/vscode-cpptools/issues/6992) +* Fix issue querying certain compilers, including armclang and arm-poky-linux-musleabi-gcc. [7021](https://github.com/microsoft/vscode-cpptools/issues/7021) +* Fix invalid "console" property when generating a "cppdbg" task. [#7048](https://github.com/microsoft/vscode-cpptools/issues/7048) + ## Version 1.2.1: February 16, 2021 ### Bug Fixes * Fix `Switch Header/Source` in two cases when symlinks are in the path. [#6855](https://github.com/microsoft/vscode-cpptools/issues/6855) diff --git a/Extension/i18n/chs/c_cpp_properties.schema.json.i18n.json b/Extension/i18n/chs/c_cpp_properties.schema.json.i18n.json index 401d256165..e792879d11 100644 --- a/Extension/i18n/chs/c_cpp_properties.schema.json.i18n.json +++ b/Extension/i18n/chs/c_cpp_properties.schema.json.i18n.json @@ -14,7 +14,7 @@ "c_cpp_properties.schema.json.definitions.configurations.items.properties.macFrameworkPath": "Intellisense 引擎在 Mac 框架中搜索包含的标头时要使用的路径的列表。仅在 Mac 配置中受支持。", "c_cpp_properties.schema.json.definitions.configurations.items.properties.windowsSdkVersion": "要在 Windows 上使用的 Windows SDK 包含路径的版本,例如 \"10.0.17134.0\"。", "c_cpp_properties.schema.json.definitions.configurations.items.properties.defines": "分析文件时 IntelliSense 引擎要使用的预处理器定义的列表。(可选)使用 = 设置值,例如 VERSION=1。", - "c_cpp_properties.schema.json.definitions.configurations.items.properties.intelliSenseMode": "The IntelliSense mode to use that maps to a platform and architecture variant of MSVC, gcc, or Clang. If not set or if set to ${default}, the extension will choose the default for that platform. Windows defaults to windows-msvc-x64, Linux defaults to linux-gcc-x64, and macOS defaults to macos-clang-x64. IntelliSense modes that only specify - variants (e.g. gcc-x64) are legacy modes and are converted automatically to the -- variants based on the host platform.", + "c_cpp_properties.schema.json.definitions.configurations.items.properties.intelliSenseMode": "要使用的 IntelliSense 模式,该模式映射到 MSVC、gcc 或 Clang 的平台和体系结构变体。如果未设置或设置为 ${default},则扩展将选择该平台的默认值。Windows 默认为 windows-msvc-x64,Linux 默认为 linux-gcc-x64,macOS 默认为 macos-clang-x64。仅指定 - 变体(例如 gcc-x64)的 IntelliSense 模式是旧模式,它们会根据主机平台自动转换为 -- 变体。", "c_cpp_properties.schema.json.definitions.configurations.items.properties.forcedInclude": "应在翻译单元中包括在任何包含文件之前的文件的列表。", "c_cpp_properties.schema.json.definitions.configurations.items.properties.configurationProvider": "可为源文件提供 IntelliSense 配置信息的 VS Code 扩展的 ID。", "c_cpp_properties.schema.json.definitions.configurations.items.properties.browse.properties.limitSymbolsToIncludedHeaders": "如果为 true,则仅处理以标头形式直接或间接包含的文件;如果为 false,则处理指定的包含路径下的所有文件。", diff --git a/Extension/i18n/chs/package.i18n.json b/Extension/i18n/chs/package.i18n.json index f3122eb304..4c4fac7c73 100644 --- a/Extension/i18n/chs/package.i18n.json +++ b/Extension/i18n/chs/package.i18n.json @@ -114,8 +114,8 @@ "c_cpp.configuration.vcFormat.wrap.preserveBlocks.allOneLineScopes.description": "无论任何“VC 格式: 新行”设置的值如何,在同一行输入左大括号和右大括号的任何代码都保留在同一行上", "c_cpp.configuration.vcFormat.wrap.preserveBlocks.never.description": "始终根据“VC 格式: 新行”设置来设定代码块的格式", "c_cpp.configuration.clang_format_path.description": "clang-format 可执行文件的完整路径。如果未指定,并且 Clang 格式在环境路径中可用,则使用 Clang 格式。如果在环境路径中找不到 Clang 格式,则将使用与该扩展绑定的 clang-format 的副本。", - "c_cpp.configuration.clang_format_style.description": "Coding style, currently supports: Visual Studio, LLVM, Google, Chromium, Mozilla, WebKit. Use \"file\" to load the style from a .clang-format file in the current or parent directory. Use {key: value, ...} to set specific parameters. For example, the \"Visual Studio\" style is similar to: { BasedOnStyle: LLVM, UseTab: Never, IndentWidth: 4, TabWidth: 4, BreakBeforeBraces: Allman, AllowShortIfStatementsOnASingleLine: false, IndentCaseLabels: false, ColumnLimit: 0, AccessModifierOffset: -4, NamespaceIndentation: All, FixNamespaceComments: false }", - "c_cpp.configuration.clang_format_fallbackStyle.description": "Name of the predefined style used as a fallback in case clang-format is invoked with style \"file\" but the .clang-format file is not found. Possible values are Visual Studio, LLVM, Google, Chromium, Mozilla, WebKit, none, or use {key: value, ...} to set specific parameters. For example, the \"Visual Studio\" style is similar to: { BasedOnStyle: LLVM, UseTab: Never, IndentWidth: 4, TabWidth: 4, BreakBeforeBraces: Allman, AllowShortIfStatementsOnASingleLine: false, IndentCaseLabels: false, ColumnLimit: 0, AccessModifierOffset: -4, NamespaceIndentation: All, FixNamespaceComments: false }", + "c_cpp.configuration.clang_format_style.description": "编码样式,当前支持: Visual Studio、LLVM、Google、Chromium、Mozilla、WebKit。使用 \"file\" 从当前目录或父目录中的 .clang 格式文件中加载样式。使用 {键: 值, ...} 设置特定参数。例如,\"Visual Studio\" 样式类似于: { BasedOnStyle: LLVM, UseTab: Never, IndentWidth: 4, TabWidth: 4, BreakBeforeBraces: Allman, AllowShortIfStatementsOnASingleLine: false, IndentCaseLabels: false, ColumnLimit: 0, AccessModifierOffset: -4, NamespaceIndentation: All, FixNamespaceComments: false }", + "c_cpp.configuration.clang_format_fallbackStyle.description": "如果使用样式 \"file\" 调用 clang 格式但是找不到 .clang 格式文件,则使用预定义的样式的名称作为回退。可能的值为 Visual Studio、LLVM、Google、Chromium、Mozilla、WebKit、none,或使用 {key: value, ...} 设置特定参数。例如,\"Visual Studio\" 样式类似于: { BasedOnStyle: LLVM, UseTab: Never, IndentWidth: 4, TabWidth: 4, BreakBeforeBraces: Allman, AllowShortIfStatementsOnASingleLine: false, IndentCaseLabels: false, ColumnLimit: 0, AccessModifierOffset: -4, NamespaceIndentation: All, FixNamespaceComments: false }", "c_cpp.configuration.clang_format_sortIncludes.description": "如果已设置,则重写由 SortIncludes 参数确定的包含排序行为。", "c_cpp.configuration.intelliSenseEngine.description": "控制 IntelliSense 提供程序。“标记分析器”提供非上下文感知的“模糊”结果。“默认”提供上下文感知结果。“已禁用”将关闭 C/C++ 语言服务功能。", "c_cpp.configuration.intelliSenseEngineFallback.description": "控制 IntelliSense 引擎是否自动切换到包含 #include 错误的翻译单元的标记分析器。", diff --git a/Extension/i18n/chs/ui/settings.html.i18n.json b/Extension/i18n/chs/ui/settings.html.i18n.json index 5b12962201..74728e0e20 100644 --- a/Extension/i18n/chs/ui/settings.html.i18n.json +++ b/Extension/i18n/chs/ui/settings.html.i18n.json @@ -30,7 +30,7 @@ "compiler.arguments": "用于修改所使用的包含或定义的编译器参数,例如 {0}、{1} 等。", "one.argument.per.line": "每行一个参数。", "intellisense.mode": "IntelliSense 模式", - "intellisense.mode.description": "The IntelliSense mode to use that maps to a platform and architecture variant of MSVC, gcc, or Clang. If not set or if set to {0}, the extension will choose the default for that platform. Windows defaults to {1}, Linux defaults to {2}, and macOS defaults to {3}. Select a specific IntelliSense mode to override the {4} mode. IntelliSense modes that only specify {5} variants (e.g. {6}) are legacy modes and are converted automatically to the {7} variants based on the host platform.", + "intellisense.mode.description": "要使用的 IntelliSense 模式,该模式映射到 MSVC、gcc 或 Clang 的平台和体系结构变体。如果未设置或设置为 {0},则扩展将选择该平台的默认值。Windows 默认为 {1},Linux 默认为 {2},macOS 默认为 {3}。选择特定 IntelliSense 模式以替代 {4} 模式。仅指定 {5} 变体(例如 {6})的 IntelliSense 模式是旧模式,它们会根据主机平台自动转换为 {7} 变体。", "include.path": "包含路径", "include.path.description": "include 路径是包括源文件中随附的头文件(如 {0})的文件夹。指定 IntelliSense 引擎在搜索包含的头文件时要使用的列表路径。对这些路径进行的搜索不是递归搜索。指定 {1} 可指示递归搜索。例如,{2} 将搜索所有子目录,而 {3} 则不会。如果在安装了 Visual Studio 的 Windows 上,或者在 {4} 设置中指定了编译器,则无需在此列表中列出系统 include 路径。", "one.include.path.per.line": "每行一个包含路径。", diff --git a/Extension/i18n/cht/c_cpp_properties.schema.json.i18n.json b/Extension/i18n/cht/c_cpp_properties.schema.json.i18n.json index 3eb4796f24..e2cd701306 100644 --- a/Extension/i18n/cht/c_cpp_properties.schema.json.i18n.json +++ b/Extension/i18n/cht/c_cpp_properties.schema.json.i18n.json @@ -14,7 +14,7 @@ "c_cpp_properties.schema.json.definitions.configurations.items.properties.macFrameworkPath": "供 Intellisense 引擎在 Mac 架構中搜尋包含的標頭時使用的路徑清單。僅支援用於 Mac 組態。", "c_cpp_properties.schema.json.definitions.configurations.items.properties.windowsSdkVersion": "要在 Windows 上使用的 Windows SDK 包含路徑版本,例如 '10.0.17134.0'。", "c_cpp_properties.schema.json.definitions.configurations.items.properties.defines": "剖析檔案時,IntelliSense 引擎要使用的前置處理器定義清單。您可使用 = 來設定值,例如 VERSION=1。", - "c_cpp_properties.schema.json.definitions.configurations.items.properties.intelliSenseMode": "The IntelliSense mode to use that maps to a platform and architecture variant of MSVC, gcc, or Clang. If not set or if set to ${default}, the extension will choose the default for that platform. Windows defaults to windows-msvc-x64, Linux defaults to linux-gcc-x64, and macOS defaults to macos-clang-x64. IntelliSense modes that only specify - variants (e.g. gcc-x64) are legacy modes and are converted automatically to the -- variants based on the host platform.", + "c_cpp_properties.schema.json.definitions.configurations.items.properties.intelliSenseMode": "要使用的 IntelliSense 模式 (對應到 MSVC、gcc 或 Clang 的平台及架構變體)。如果未設定或設為 ${default},延伸模組會選擇該平台的預設。Windows 預設為 windows-msvc-x64、Linux 預設為 linux-gcc-x64、macOS 預設為 macos-clang-x64。僅指定 - 變體 (例如 gcc-x64) 的 IntelliSense 模式即為舊版模式,會依據主機平台自動轉換為 -- 變體。", "c_cpp_properties.schema.json.definitions.configurations.items.properties.forcedInclude": "應包含在編譯單位中任何 include 檔案之前的檔案清單。", "c_cpp_properties.schema.json.definitions.configurations.items.properties.configurationProvider": "提供原始程式檔 IntelliSense 組態資訊的 VS Code 延伸模組識別碼。", "c_cpp_properties.schema.json.definitions.configurations.items.properties.browse.properties.limitSymbolsToIncludedHeaders": "設為 true,就會只處理直接或間接以標頭形式包含的檔案; 設為 false,則會處理位於指定 include 路徑下的所有檔案。", diff --git a/Extension/i18n/cht/package.i18n.json b/Extension/i18n/cht/package.i18n.json index 25948552ad..4d09fce009 100644 --- a/Extension/i18n/cht/package.i18n.json +++ b/Extension/i18n/cht/package.i18n.json @@ -114,8 +114,8 @@ "c_cpp.configuration.vcFormat.wrap.preserveBlocks.allOneLineScopes.description": "在一行中所輸入由左大括號和右大括號括住的任何程式碼,都保留在同一行,而不考慮任何 VC 格式的值: [新行] 設定", "c_cpp.configuration.vcFormat.wrap.preserveBlocks.never.description": "程式碼區塊的格式一律以 VC 格式的值為準: [新行] 設定", "c_cpp.configuration.clang_format_path.description": "此為 clang-format 可執行檔的完整路徑。如果未指定,且在環境路徑中可用 clang-format,即會使用該格式。如果在環境路徑中找不到,則會使用延伸模組所配備的 clang-format 複本。", - "c_cpp.configuration.clang_format_style.description": "Coding style, currently supports: Visual Studio, LLVM, Google, Chromium, Mozilla, WebKit. Use \"file\" to load the style from a .clang-format file in the current or parent directory. Use {key: value, ...} to set specific parameters. For example, the \"Visual Studio\" style is similar to: { BasedOnStyle: LLVM, UseTab: Never, IndentWidth: 4, TabWidth: 4, BreakBeforeBraces: Allman, AllowShortIfStatementsOnASingleLine: false, IndentCaseLabels: false, ColumnLimit: 0, AccessModifierOffset: -4, NamespaceIndentation: All, FixNamespaceComments: false }", - "c_cpp.configuration.clang_format_fallbackStyle.description": "Name of the predefined style used as a fallback in case clang-format is invoked with style \"file\" but the .clang-format file is not found. Possible values are Visual Studio, LLVM, Google, Chromium, Mozilla, WebKit, none, or use {key: value, ...} to set specific parameters. For example, the \"Visual Studio\" style is similar to: { BasedOnStyle: LLVM, UseTab: Never, IndentWidth: 4, TabWidth: 4, BreakBeforeBraces: Allman, AllowShortIfStatementsOnASingleLine: false, IndentCaseLabels: false, ColumnLimit: 0, AccessModifierOffset: -4, NamespaceIndentation: All, FixNamespaceComments: false }", + "c_cpp.configuration.clang_format_style.description": "編碼樣式,目前支援: Visual Studio、LLVM、Google、Chromium、Mozilla、WebKit。使用 \"file\" 可從目前目錄或父目錄的 .clang-format 檔案載入樣式。使用 {key: value, ...} 可設定特定參數。例如,\"Visual Studio\" 樣式類似於: { BasedOnStyle: LLVM, UseTab: Never, IndentWidth: 4, TabWidth: 4, BreakBeforeBraces: Allman, AllowShortIfStatementsOnASingleLine: false, IndentCaseLabels: false, ColumnLimit: 0, AccessModifierOffset: -4, NamespaceIndentation: All, FixNamespaceComments: false }", + "c_cpp.configuration.clang_format_fallbackStyle.description": "當已使用樣式 \"file\" 叫用 clang 格式,但找不到 .clang-format 檔案時,用作後援的預先定義樣式名稱。可能的值包括 Visual Studio、LLVM、Google、Chromium、Mozilla、WebKit、none 或使用 {key: value, ...} 來設定特定參數。例如,\"Visual Studio\" 樣式類似於: { BasedOnStyle: LLVM, UseTab: Never, IndentWidth: 4, TabWidth: 4, BreakBeforeBraces: Allman, AllowShortIfStatementsOnASingleLine: false, IndentCaseLabels: false, ColumnLimit: 0, AccessModifierOffset: -4, NamespaceIndentation: All, FixNamespaceComments: false }", "c_cpp.configuration.clang_format_sortIncludes.description": "若設定,會覆寫 SortIncludes 參數所決定的包含排序行為。", "c_cpp.configuration.intelliSenseEngine.description": "控制 IntelliSense 提供者。「標籤剖析器」會提供非內容感知的「模糊」結果。「預設」會提供內容感知的結果。「停用」會關閉 C/C++ 語言服務功能。", "c_cpp.configuration.intelliSenseEngineFallback.description": "控制 IntelliSense 引擎是否會自動切換到包含 #include 錯誤之編譯單位的標籤剖析器。", diff --git a/Extension/i18n/cht/ui/settings.html.i18n.json b/Extension/i18n/cht/ui/settings.html.i18n.json index f4a0f11453..70fdec968f 100644 --- a/Extension/i18n/cht/ui/settings.html.i18n.json +++ b/Extension/i18n/cht/ui/settings.html.i18n.json @@ -30,7 +30,7 @@ "compiler.arguments": "用來修改所使用之包含或定義的編譯器引數,例如 {0}、{1} 等。", "one.argument.per.line": "每行一個引數。", "intellisense.mode": "IntelliSense 模式", - "intellisense.mode.description": "The IntelliSense mode to use that maps to a platform and architecture variant of MSVC, gcc, or Clang. If not set or if set to {0}, the extension will choose the default for that platform. Windows defaults to {1}, Linux defaults to {2}, and macOS defaults to {3}. Select a specific IntelliSense mode to override the {4} mode. IntelliSense modes that only specify {5} variants (e.g. {6}) are legacy modes and are converted automatically to the {7} variants based on the host platform.", + "intellisense.mode.description": "要使用的 IntelliSense 模式 (對應到 MSVC、gcc 或 Clang 的平台及架構變體)。如果未設定或設為 {0},延伸模組會選擇該平台的預設。Windows 預設為 {1}、Linux 預設為 {2}、macOS 預設為 {3}。選取特定的 IntelliSense 模式可覆寫 {4} 模式。僅指定 {5} 變體 (例如 {6}) 的 IntelliSense 模式即為舊版模式,會依據主機平台自動轉換為 {7} 變體。", "include.path": "包含路徑", "include.path.description": "include 路徑是包含來源檔案所含之標頭檔 (例如 {0}) 的資料夾。請為 Intellisense 引擎指定搜尋所含標頭檔時所要使用的路徑清單。這些路徑不會重複搜尋。若要重複搜尋,請指定 {1}。例如 {2} 會搜尋所有子目錄,而 {3} 不會。若在安裝了 Visual Studio 的 Windows 上,或在 {4} 設定中指定了編譯器,就無須在此清單中列出系統的 include 路徑。", "one.include.path.per.line": "每行一個包含路徑。", diff --git a/Extension/i18n/deu/c_cpp_properties.schema.json.i18n.json b/Extension/i18n/deu/c_cpp_properties.schema.json.i18n.json index 936f22d7cf..1c97ebbcf3 100644 --- a/Extension/i18n/deu/c_cpp_properties.schema.json.i18n.json +++ b/Extension/i18n/deu/c_cpp_properties.schema.json.i18n.json @@ -14,7 +14,7 @@ "c_cpp_properties.schema.json.definitions.configurations.items.properties.macFrameworkPath": "Eine Liste der Pfade für die IntelliSense-Engine, die beim Suchen nach eingeschlossenen Headern aus Mac-Frameworks verwendet werden sollen. Wird nur in der Mac-Konfiguration unterstützt.", "c_cpp_properties.schema.json.definitions.configurations.items.properties.windowsSdkVersion": "Die Version des Windows SDK-Includepfads zur Verwendung unter Windows, z. B. \"10.0.17134.0\".", "c_cpp_properties.schema.json.definitions.configurations.items.properties.defines": "Eine Liste der Präprozessordefinitionen für die IntelliSense-Engine, die beim Analysieren von Dateien verwendet werden sollen. Verwenden Sie optional \"=\", um einen Wert festzulegen. Beispiel: VERSION=1.", - "c_cpp_properties.schema.json.definitions.configurations.items.properties.intelliSenseMode": "The IntelliSense mode to use that maps to a platform and architecture variant of MSVC, gcc, or Clang. If not set or if set to ${default}, the extension will choose the default for that platform. Windows defaults to windows-msvc-x64, Linux defaults to linux-gcc-x64, and macOS defaults to macos-clang-x64. IntelliSense modes that only specify - variants (e.g. gcc-x64) are legacy modes and are converted automatically to the -- variants based on the host platform.", + "c_cpp_properties.schema.json.definitions.configurations.items.properties.intelliSenseMode": "Der zu verwendende IntelliSense-Modus, der einer Plattform- und Architekturvariante von MSVC, gcc oder Clang zugeordnet wird. Wenn er nicht oder auf \"${default}\" festgelegt wird, wählt die Erweiterung den Standardwert für diese Plattform aus. Bei Windows lautet dieser \"windows-msvc-x64\", bei Linux \"linux-gcc-x64\" und bei macOS \"macos-clang-x64\". IntelliSense-Modi, die nur Varianten in der Form \"-\" angeben (z. B. gcc-x64) sind Legacymodi, die basierend auf der Hostplattform automatisch in Varianten des Formats \"--\" konvertiert werden.", "c_cpp_properties.schema.json.definitions.configurations.items.properties.forcedInclude": "Eine Liste der Dateien, die vor einer Includedatei in einer Übersetzungseinheit enthalten sein sollen.", "c_cpp_properties.schema.json.definitions.configurations.items.properties.configurationProvider": "Die ID einer VS Code-Erweiterung, die IntelliSense-Konfigurationsinformationen für Quelldateien bereitstellen kann.", "c_cpp_properties.schema.json.definitions.configurations.items.properties.browse.properties.limitSymbolsToIncludedHeaders": "TRUE, um nur die direkt oder indirekt als Header enthaltenen Dateien zu verarbeiten; FALSE, um alle Dateien unter den angegebenen Includepfaden zu verarbeiten.", diff --git a/Extension/i18n/deu/package.i18n.json b/Extension/i18n/deu/package.i18n.json index 6f865fe592..2abc96325d 100644 --- a/Extension/i18n/deu/package.i18n.json +++ b/Extension/i18n/deu/package.i18n.json @@ -114,8 +114,8 @@ "c_cpp.configuration.vcFormat.wrap.preserveBlocks.allOneLineScopes.description": "Jeglicher Code, in dem die öffnende und schließende geschweifte Klammer in einer Zeile eingegeben wird, wird unabhängig von den Einstellungen für neue Zeilen im VC-Format in einer Zeile beibehalten.", "c_cpp.configuration.vcFormat.wrap.preserveBlocks.never.description": "Codeblöcke werden immer basierend auf den Einstellungen für neue Zeilen im VC-Format formatiert.", "c_cpp.configuration.clang_format_path.description": "Der vollständige Pfad der ausführbaren clang-format-Datei. Wenn dieser nicht angegeben wird und clang-format im Umgebungspfad verfügbar ist, wird die Datei im Umgebungspfad verwendet. Ist sie nicht im Umgebungspfad verfügbar, wird eine im Erweiterungspaket enthaltene Kopie von clang-format verwendet.", - "c_cpp.configuration.clang_format_style.description": "Coding style, currently supports: Visual Studio, LLVM, Google, Chromium, Mozilla, WebKit. Use \"file\" to load the style from a .clang-format file in the current or parent directory. Use {key: value, ...} to set specific parameters. For example, the \"Visual Studio\" style is similar to: { BasedOnStyle: LLVM, UseTab: Never, IndentWidth: 4, TabWidth: 4, BreakBeforeBraces: Allman, AllowShortIfStatementsOnASingleLine: false, IndentCaseLabels: false, ColumnLimit: 0, AccessModifierOffset: -4, NamespaceIndentation: All, FixNamespaceComments: false }", - "c_cpp.configuration.clang_format_fallbackStyle.description": "Name of the predefined style used as a fallback in case clang-format is invoked with style \"file\" but the .clang-format file is not found. Possible values are Visual Studio, LLVM, Google, Chromium, Mozilla, WebKit, none, or use {key: value, ...} to set specific parameters. For example, the \"Visual Studio\" style is similar to: { BasedOnStyle: LLVM, UseTab: Never, IndentWidth: 4, TabWidth: 4, BreakBeforeBraces: Allman, AllowShortIfStatementsOnASingleLine: false, IndentCaseLabels: false, ColumnLimit: 0, AccessModifierOffset: -4, NamespaceIndentation: All, FixNamespaceComments: false }", + "c_cpp.configuration.clang_format_style.description": "Formatvorlage für Code. Unterstützt derzeit Folgendes: Visual Studio, LLVM, Google, Chromium, Mozilla, WebKit. Verwenden Sie \"file\", um die Formatvorlage aus einer .clang-format-Datei im aktuellen oder übergeordneten Verzeichnis zu laden. Verwenden Sie {Schlüssel: Wert, ...}, um bestimmte Parameter festzulegen. Die Formatvorlage \"Visual Studio\" etwa sieht folgendermaßen aus: { BasedOnStyle: LLVM, UseTab: Never, IndentWidth: 4, TabWidth: 4, BreakBeforeBraces: Allman, AllowShortIfStatementsOnASingleLine: false, IndentCaseLabels: false, ColumnLimit: 0, AccessModifierOffset: -4, NamespaceIndentation: All, FixNamespaceComments: false }", + "c_cpp.configuration.clang_format_fallbackStyle.description": "Name des vordefinierten Stils, der als Fallback verwendet wird, falls das clang-Format mit der Formatvorlage \"file\" aufgerufen wird, aber die .clang-format-Datei nicht gefunden wird. Mögliche Werte sind \"Visual Studio\", \"LLVM\", \"Google\", \"Chromium\", \"Mozilla\", \"WebKit\" oder \"none\", oder verwenden Sie {key: value, ...}, um bestimmte Parameter festzulegen. Die Formatvorlage \"Visual Studio\" z. B. sieht etwa folgendermaßen aus: { BasedOnStyle: LLVM, UseTab: Never, IndentWidth: 4, TabWidth: 4, BreakBeforeBraces: Allman, AllowShortIfStatementsOnASingleLine: false, IndentCaseLabels: false, ColumnLimit: 0, AccessModifierOffset: -4, NamespaceIndentation: All, FixNamespaceComments: false }", "c_cpp.configuration.clang_format_sortIncludes.description": "Wenn diese Option festgelegt ist, wird das durch den SortIncludes-Parameter festgelegte Sortierverhalten für Includes überschrieben.", "c_cpp.configuration.intelliSenseEngine.description": "Hiermit wird der IntelliSense-Anbieter gesteuert. \"Tagparser\" erzielt \"unscharfe\" Ergebnisse, die nicht kontextbezogen sind. \"Standard\" erzielt kontextabhängige Ergebnisse. \"Deaktiviert\" deaktiviert C/C++-Sprachdienstfeatures.", "c_cpp.configuration.intelliSenseEngineFallback.description": "Hiermit wird gesteuert, ob die IntelliSense-Engine bei Übersetzungseinheiten, die #include-Fehler enthalten, automatisch zum Tagparser wechselt.", diff --git a/Extension/i18n/deu/ui/settings.html.i18n.json b/Extension/i18n/deu/ui/settings.html.i18n.json index d98bcfd229..633fcdc701 100644 --- a/Extension/i18n/deu/ui/settings.html.i18n.json +++ b/Extension/i18n/deu/ui/settings.html.i18n.json @@ -30,7 +30,7 @@ "compiler.arguments": "Compilerargumente zum Ändern der verwendeten Include- oder Define-Anweisungen. Beispiel: \"{0}\", \"{1}\" usw.", "one.argument.per.line": "Ein Argument pro Zeile.", "intellisense.mode": "IntelliSense-Modus", - "intellisense.mode.description": "The IntelliSense mode to use that maps to a platform and architecture variant of MSVC, gcc, or Clang. If not set or if set to {0}, the extension will choose the default for that platform. Windows defaults to {1}, Linux defaults to {2}, and macOS defaults to {3}. Select a specific IntelliSense mode to override the {4} mode. IntelliSense modes that only specify {5} variants (e.g. {6}) are legacy modes and are converted automatically to the {7} variants based on the host platform.", + "intellisense.mode.description": "Der zu verwendende IntelliSense-Modus, der einer Plattform- und Architekturvariante von MSVC, gcc oder Clang zugeordnet wird. Wenn er nicht oder auf \"{0}\" festgelegt wird, wählt die Erweiterung den Standardwert für diese Plattform aus. Bei Windows lautet dieser \"{1}\", bei Linux \"{2}\" und bei macOS \"{3}\". Wählen Sie einen bestimmten IntelliSense-Modus aus, um den Modus \"{4}\" zu überschreiben. IntelliSense-Modi, die nur Varianten in der Form \"{5}\" angeben (z. B. {6}) sind Legacymodi, die basierend auf der Hostplattform automatisch in Varianten des Formats \"{7}\" konvertiert werden.", "include.path": "Pfad einbeziehen", "include.path.description": "Ein Includepfad ist ein Ordner, der Headerdateien (z. B. \"{0}\") enthält, die in einer Quelldatei enthalten sind. Geben Sie eine Liste mit Pfaden an, die von der IntelliSense-Engine bei der Suche nach eingeschlossenen Headerdateien verwendet werden sollen. Es wird keine rekursive Suche in diesen Pfaden durchgeführt. Geben Sie \"{1}\" an, um eine rekursive Suche durchzuführen. Beispielsweise werden mit der Einstellung \"{2}\" alle Unterverzeichnisse durchsucht, mit der Einstellung \"{3}\" hingegen nicht. Unter Windows mit Visual Studio-Installation oder bei Angabe eines Compilers in der Einstellung \"{4}\" ist es nicht erforderlich, die Systemincludepfade in dieser Liste aufzuführen.", "one.include.path.per.line": "Ein Includepfad pro Zeile.", diff --git a/Extension/i18n/ita/c_cpp_properties.schema.json.i18n.json b/Extension/i18n/ita/c_cpp_properties.schema.json.i18n.json index 7c691e4cfe..3479d916e1 100644 --- a/Extension/i18n/ita/c_cpp_properties.schema.json.i18n.json +++ b/Extension/i18n/ita/c_cpp_properties.schema.json.i18n.json @@ -14,7 +14,7 @@ "c_cpp_properties.schema.json.definitions.configurations.items.properties.macFrameworkPath": "Elenco di percorsi che il motore IntelliSense userà durante la ricerca delle intestazioni incluse da framework Mac. Supportato solo nella configurazione Mac.", "c_cpp_properties.schema.json.definitions.configurations.items.properties.windowsSdkVersion": "Versione del percorso di inclusione di Windows SDK da usare in Windows, ad esempio '10.0.17134.0'.", "c_cpp_properties.schema.json.definitions.configurations.items.properties.defines": "Elenco di definizioni del preprocessore che il motore IntelliSense userà durante l'analisi dei file. Facoltativamente, usare = per impostare un valore, ad esempio VERSION=1.", - "c_cpp_properties.schema.json.definitions.configurations.items.properties.intelliSenseMode": "The IntelliSense mode to use that maps to a platform and architecture variant of MSVC, gcc, or Clang. If not set or if set to ${default}, the extension will choose the default for that platform. Windows defaults to windows-msvc-x64, Linux defaults to linux-gcc-x64, and macOS defaults to macos-clang-x64. IntelliSense modes that only specify - variants (e.g. gcc-x64) are legacy modes and are converted automatically to the -- variants based on the host platform.", + "c_cpp_properties.schema.json.definitions.configurations.items.properties.intelliSenseMode": "Modalità IntelliSense da usare per eseguire il mapping a una variante della piattaforma e dell'architettura di MSVC, gcc o Clang. Se non è impostata o se è impostata su ${default}, sarà l'estensione a scegliere il valore predefinito per tale piattaforma. L'impostazione predefinita di Windows è windows-msvc-x64, quella di Linux è linux-gcc-x64 e quella di macOS è macos-clang-x64. Le modalità IntelliSense che specificano solo varianti - (ad esempio gcc-x64) sono modalità legacy e vengono convertite automaticamente nelle varianti -- in base alla piattaforma host.", "c_cpp_properties.schema.json.definitions.configurations.items.properties.forcedInclude": "Elenco di file che devono essere inclusi prima di qualsiasi file include in un'unità di conversione.", "c_cpp_properties.schema.json.definitions.configurations.items.properties.configurationProvider": "ID di un'estensione VS Code che può fornire informazioni di configurazione IntelliSense per i file di origine.", "c_cpp_properties.schema.json.definitions.configurations.items.properties.browse.properties.limitSymbolsToIncludedHeaders": "true per elaborare solo i file inclusi direttamente o indirettamente come intestazioni; false per elaborare tutti i file nei percorsi di inclusione specificati.", diff --git a/Extension/i18n/ita/package.i18n.json b/Extension/i18n/ita/package.i18n.json index 8f0eb5638a..9e48580f9f 100644 --- a/Extension/i18n/ita/package.i18n.json +++ b/Extension/i18n/ita/package.i18n.json @@ -114,8 +114,8 @@ "c_cpp.configuration.vcFormat.wrap.preserveBlocks.allOneLineScopes.description": "Il codice di qualsiasi tipo in cui le parentesi graffe di apertura e chiusura si trovano sulla stessa riga viene mantenuto su una singola riga, indipendentemente dai valori di una delle impostazioni di Formato VC: Nuova riga", "c_cpp.configuration.vcFormat.wrap.preserveBlocks.never.description": "I blocchi di codice vengono sempre formattati in base ai valori delle impostazioni di Formato VC: Nuova riga", "c_cpp.configuration.clang_format_path.description": "Percorso completo del file eseguibile clang-format. Se non è specificato, verrà usato lo strumento clang-format disponibile nel percorso dell'ambiente. Se clang-format non viene trovato nel percorso dell'ambiente, ne verrà usata una copia fornita in bundle con l'estensione.", - "c_cpp.configuration.clang_format_style.description": "Coding style, currently supports: Visual Studio, LLVM, Google, Chromium, Mozilla, WebKit. Use \"file\" to load the style from a .clang-format file in the current or parent directory. Use {key: value, ...} to set specific parameters. For example, the \"Visual Studio\" style is similar to: { BasedOnStyle: LLVM, UseTab: Never, IndentWidth: 4, TabWidth: 4, BreakBeforeBraces: Allman, AllowShortIfStatementsOnASingleLine: false, IndentCaseLabels: false, ColumnLimit: 0, AccessModifierOffset: -4, NamespaceIndentation: All, FixNamespaceComments: false }", - "c_cpp.configuration.clang_format_fallbackStyle.description": "Name of the predefined style used as a fallback in case clang-format is invoked with style \"file\" but the .clang-format file is not found. Possible values are Visual Studio, LLVM, Google, Chromium, Mozilla, WebKit, none, or use {key: value, ...} to set specific parameters. For example, the \"Visual Studio\" style is similar to: { BasedOnStyle: LLVM, UseTab: Never, IndentWidth: 4, TabWidth: 4, BreakBeforeBraces: Allman, AllowShortIfStatementsOnASingleLine: false, IndentCaseLabels: false, ColumnLimit: 0, AccessModifierOffset: -4, NamespaceIndentation: All, FixNamespaceComments: false }", + "c_cpp.configuration.clang_format_style.description": "Stile di codifica. Attualmente supporta: Visual Studio, LLVM, Google, Chromium, Mozilla, WebKit. Usare \"file\" per caricare lo stile da un file con estensione .clang-format presente nella directory corrente o padre. Usare {chiave: valore, ...} per impostare parametri specifici. Ad esempio, lo stile \"Visual Studio\" è simile a: { BasedOnStyle: LLVM, UseTab: Never, IndentWidth: 4, TabWidth: 4, BreakBeforeBraces: Allman, AllowShortIfStatementsOnASingleLine: false, IndentCaseLabels: false, ColumnLimit: 0, AccessModifierOffset: -4, NamespaceIndentation: All, FixNamespaceComments: false }", + "c_cpp.configuration.clang_format_fallbackStyle.description": "Nome dello stile predefinito usato come fallback nel caso in cui il formato Clang venga richiamato con lo stile \"file\", ma il file in formato Clang non viene trovato. I valori possibili sono Visual Studio, LLVM, Google, Chromium, Mozilla, WebKit, none. In alternativa, usare {key: value, ...} per impostare parametri specifici. Ad esempio, lo stile \"Visual Studio\" è simile a: { BasedOnStyle: LLVM, UseTab: Never, IndentWidth: 4, TabWidth: 4, BreakBeforeBraces: Allman, AllowShortIfStatementsOnASingleLine: false, IndentCaseLabels: false, ColumnLimit: 0, AccessModifierOffset: -4, NamespaceIndentation: All, FixNamespaceComments: false }", "c_cpp.configuration.clang_format_sortIncludes.description": "Se è impostata, esegue l'override del comportamento di ordinamento di inclusione determinato dal parametro SortIncludes.", "c_cpp.configuration.intelliSenseEngine.description": "Controlla il provider IntelliSense. Con \"Parser di tag\" vengono risultati \"fuzzy\" che non sono compatibili con il contesto. Con \"Predefinito\" vengono forniti risultati compatibili con il contesto. Con \"Disabilitato\" vengono disattivate le funzionalità del servizio di linguaggio C/C++.", "c_cpp.configuration.intelliSenseEngineFallback.description": "Controlla se il motore IntelliSense passerà automaticamente al parser di tag per le unità di conversione contenenti errori #include.", diff --git a/Extension/i18n/ita/ui/settings.html.i18n.json b/Extension/i18n/ita/ui/settings.html.i18n.json index 0688505cb4..cde478b5a7 100644 --- a/Extension/i18n/ita/ui/settings.html.i18n.json +++ b/Extension/i18n/ita/ui/settings.html.i18n.json @@ -30,7 +30,7 @@ "compiler.arguments": "Argomenti del compilatore per modificare le direttive include o define usate, ad esempio {0}, {1} e così via.", "one.argument.per.line": "Un argomento per riga.", "intellisense.mode": "Modalità IntelliSense", - "intellisense.mode.description": "The IntelliSense mode to use that maps to a platform and architecture variant of MSVC, gcc, or Clang. If not set or if set to {0}, the extension will choose the default for that platform. Windows defaults to {1}, Linux defaults to {2}, and macOS defaults to {3}. Select a specific IntelliSense mode to override the {4} mode. IntelliSense modes that only specify {5} variants (e.g. {6}) are legacy modes and are converted automatically to the {7} variants based on the host platform.", + "intellisense.mode.description": "Modalità IntelliSense da usare per eseguire il mapping a una variante della piattaforma e dell'architettura di MSVC, gcc o Clang. Se non è impostata o se è impostata su {0}, sarà l'estensione a scegliere il valore predefinito per tale piattaforma. L'impostazione predefinita di Windows è {1}, quella di Linux è {2} e quella di macOS è {3}. Selezionare una modalità IntelliSense specifica per eseguire l'override della modalità {4}. Le modalità IntelliSense che specificano solo varianti {5} (ad esempio {6}) sono modalità legacy e vengono convertite automaticamente nelle varianti {7} in base alla piattaforma host.", "include.path": "Includi percorso", "include.path.description": "Un percorso di inclusione è una cartella che contiene i file di intestazione, ad esempio {0}, inclusi in un file di origine. Specificare un elenco di percorsi che il motore IntelliSense userà durante la ricerca dei file di intestazione inclusi. La ricerca in questi percorsi non è ricorsiva. Specificare {1} per indicare la ricerca ricorsiva. Ad esempio, con {2} la ricerca sarà estesa a tutte le sottodirectory, mentre con {3} sarà limitata a quella corrente. Se in Windows è installato Visual Studio o se nell'impostazione {4} è specificato un compilatore, non è necessario elencare i percorsi di inclusione di sistema in questo elenco.", "one.include.path.per.line": "Un percorso di inclusione per riga.", diff --git a/Extension/i18n/jpn/c_cpp_properties.schema.json.i18n.json b/Extension/i18n/jpn/c_cpp_properties.schema.json.i18n.json index a6f307d87f..40c4a22e33 100644 --- a/Extension/i18n/jpn/c_cpp_properties.schema.json.i18n.json +++ b/Extension/i18n/jpn/c_cpp_properties.schema.json.i18n.json @@ -14,7 +14,7 @@ "c_cpp_properties.schema.json.definitions.configurations.items.properties.macFrameworkPath": "Mac フレームワークからインクルードされたヘッダーを検索する際に Intellisense エンジンが使用するパスの一覧です。Mac 構成でのみサポートされます。", "c_cpp_properties.schema.json.definitions.configurations.items.properties.windowsSdkVersion": "Windows で使用する Windows SDK インクルード パスのバージョン (例: '10.0.17134.0')。", "c_cpp_properties.schema.json.definitions.configurations.items.properties.defines": "ファイルを解析する際に IntelliSense エンジンが使用するプリプロセッサ定義の一覧です。必要に応じて、= を使用して値を設定します (例: VERSION=1)。", - "c_cpp_properties.schema.json.definitions.configurations.items.properties.intelliSenseMode": "The IntelliSense mode to use that maps to a platform and architecture variant of MSVC, gcc, or Clang. If not set or if set to ${default}, the extension will choose the default for that platform. Windows defaults to windows-msvc-x64, Linux defaults to linux-gcc-x64, and macOS defaults to macos-clang-x64. IntelliSense modes that only specify - variants (e.g. gcc-x64) are legacy modes and are converted automatically to the -- variants based on the host platform.", + "c_cpp_properties.schema.json.definitions.configurations.items.properties.intelliSenseMode": "プラットフォームおよびアーキテクチャのバリアント (MSVC、gcc、Clang) へのマップに使用する IntelliSense モードです。値が設定されていない、または ${default} に設定されている場合、拡張機能ではそのプラットフォームの既定値が選択されます。Windows の既定値は windows-msvc-x64、Linux の既定値は linux-gcc-x64、macOS の既定値は macos-clang-x64 です。- バリエント (例: gcc-x64) のみを指定する IntelliSense モードはレガシ モードであり、ホスト プラットフォームに基づいて -- に自動的に変換されます。", "c_cpp_properties.schema.json.definitions.configurations.items.properties.forcedInclude": "翻訳単位のインクルード ファイルの前に含める必要があるファイルの一覧。", "c_cpp_properties.schema.json.definitions.configurations.items.properties.configurationProvider": "ソース ファイルの IntelliSense 構成情報を提供できる VS Code 拡張機能の ID です。", "c_cpp_properties.schema.json.definitions.configurations.items.properties.browse.properties.limitSymbolsToIncludedHeaders": "ヘッダーとして直接的または間接的にインクルードされたファイルのみを処理する場合は true、指定したインクルード パスにあるすべてのファイルを処理する場合は false です。", diff --git a/Extension/i18n/jpn/package.i18n.json b/Extension/i18n/jpn/package.i18n.json index 9fb2b6156c..e8d70b2366 100644 --- a/Extension/i18n/jpn/package.i18n.json +++ b/Extension/i18n/jpn/package.i18n.json @@ -114,8 +114,8 @@ "c_cpp.configuration.vcFormat.wrap.preserveBlocks.allOneLineScopes.description": "[VC Format: New Line](VC 書式設定: 改行) 設定の値に関係なく、左および右中かっこが 1 行に入力されているコードは、1 行に保持されます", "c_cpp.configuration.vcFormat.wrap.preserveBlocks.never.description": "コード ブロックは常に、[VC Format: New Line](VC 書式設定: 改行) 設定の値に基づいて書式設定されます", "c_cpp.configuration.clang_format_path.description": "clang-format の実行可能ファイルの完全なパスです。指定されておらず、clang-format が環境パスに置かれている場合は、それが使用されます。環境パスに見つからない場合は、拡張機能にバンドルされている clang-format のコピーが使用されます。", - "c_cpp.configuration.clang_format_style.description": "Coding style, currently supports: Visual Studio, LLVM, Google, Chromium, Mozilla, WebKit. Use \"file\" to load the style from a .clang-format file in the current or parent directory. Use {key: value, ...} to set specific parameters. For example, the \"Visual Studio\" style is similar to: { BasedOnStyle: LLVM, UseTab: Never, IndentWidth: 4, TabWidth: 4, BreakBeforeBraces: Allman, AllowShortIfStatementsOnASingleLine: false, IndentCaseLabels: false, ColumnLimit: 0, AccessModifierOffset: -4, NamespaceIndentation: All, FixNamespaceComments: false }", - "c_cpp.configuration.clang_format_fallbackStyle.description": "Name of the predefined style used as a fallback in case clang-format is invoked with style \"file\" but the .clang-format file is not found. Possible values are Visual Studio, LLVM, Google, Chromium, Mozilla, WebKit, none, or use {key: value, ...} to set specific parameters. For example, the \"Visual Studio\" style is similar to: { BasedOnStyle: LLVM, UseTab: Never, IndentWidth: 4, TabWidth: 4, BreakBeforeBraces: Allman, AllowShortIfStatementsOnASingleLine: false, IndentCaseLabels: false, ColumnLimit: 0, AccessModifierOffset: -4, NamespaceIndentation: All, FixNamespaceComments: false }", + "c_cpp.configuration.clang_format_style.description": "次のコーディング スタイルが現在サポートされています: Visual Studio、LLVM、Google、Chromium、Mozilla、WebKit。\"file\" を使用して、現在のディレクトリまたは親ディレクトリにある .clang-format ファイルからスタイルを読み込みます。特定のパラメーターを設定するには、{キー: 値, ...} を使用します。たとえば、\"Visual Studio\" のスタイルは次のようになります: { BasedOnStyle: LLVM, UseTab: Never, IndentWidth: 4, TabWidth: 4, BreakBeforeBraces: Allman, AllowShortIfStatementsOnASingleLine: false, IndentCaseLabels: false, ColumnLimit: 0, AccessModifierOffset: -4, NamespaceIndentation: All, FixNamespaceComments: false }", + "c_cpp.configuration.clang_format_fallbackStyle.description": "clang-format が \"file\" スタイルで呼び出されたものの .clang-format ファイルが見つからない場合に、フォールバックとして使用される定義済みスタイルの名前。使用可能な値は、Visual Studio、LLVM、Google、Chromium、Mozilla、WebKit、none です。または、{key: value, ...} を使用して特定のパラメーターを設定することもできます。たとえば、\"Visual Studio\" スタイルは次のようになります: { BasedOnStyle: LLVM, UseTab: Never, IndentWidth: 4, TabWidth: 4, BreakBeforeBraces: Allman, AllowShortIfStatementsOnASingleLine: false, IndentCaseLabels: false, ColumnLimit: 0, AccessModifierOffset: -4, NamespaceIndentation: All, FixNamespaceComments: false }", "c_cpp.configuration.clang_format_sortIncludes.description": "設定されている場合、SortIncludes パラメーターによって決定されるインクルードの並べ替え動作がオーバーライドされます。", "c_cpp.configuration.intelliSenseEngine.description": "IntelliSense プロバイダーを制御します。\"Tag Parser\" の場合、コンテキストを意識しない \"fuzzy\" の結果が提供されます。\"Default\" の場合、コンテキストを意識する結果が返されます。\"Disabled\" の場合、C/C++ 言語サービスの機能がオフになります。", "c_cpp.configuration.intelliSenseEngineFallback.description": "#include エラーを含む翻訳単位に対して、IntelliSense エンジンをタグ パーサーに自動的に切り替えるかどうかを制御します。", diff --git a/Extension/i18n/jpn/ui/settings.html.i18n.json b/Extension/i18n/jpn/ui/settings.html.i18n.json index c7df3a71ba..e2c8582e7b 100644 --- a/Extension/i18n/jpn/ui/settings.html.i18n.json +++ b/Extension/i18n/jpn/ui/settings.html.i18n.json @@ -30,7 +30,7 @@ "compiler.arguments": "たとえば {0}、{1} など、使用されているインクルードや定義を変更するコンパイラ引数です。", "one.argument.per.line": "1 行につき 1 つの引数です。", "intellisense.mode": "IntelliSense モード", - "intellisense.mode.description": "The IntelliSense mode to use that maps to a platform and architecture variant of MSVC, gcc, or Clang. If not set or if set to {0}, the extension will choose the default for that platform. Windows defaults to {1}, Linux defaults to {2}, and macOS defaults to {3}. Select a specific IntelliSense mode to override the {4} mode. IntelliSense modes that only specify {5} variants (e.g. {6}) are legacy modes and are converted automatically to the {7} variants based on the host platform.", + "intellisense.mode.description": "プラットフォームおよびアーキテクチャのバリアント (MSVC、gcc、Clang ) へのマップに使用する IntelliSense モードです。値が設定されていない、または {0} に設定されている場合、拡張機能ではそのプラットフォームの既定値が選択されます。Windows の既定値は {1}、Linux の既定値は {2}、macOS の既定値は {3} です。{4} モードをオーバーライドするには、特定の IntelliSense モードを選択します。{5} バリエント (例: {6}) のみを指定する IntelliSense モードはレガシー モードであり、ホスト プラットフォームに基づいて自動的に {7} バリアントに変換されます。", "include.path": "パスを含める", "include.path.description": "インクルード パスは、ソース ファイルにインクルードされるヘッダー ファイル ({0} など) を含むフォルダーです。インクルードされたヘッダー ファイルを検索する際に IntelliSense エンジンによって使用されるパスの一覧を指定します。これらのパスでの検索は再帰的ではありません。再帰的な検索を示す場合は、{1} を指定します。たとえば、{2} ではすべてのサブディレクトリが検索されますが、{3} はそうではありません。Windows 上に Visual Studio がインストールされている場合、または {4} 設定でコンパイラが指定されている場合は、この一覧にシステム インクルード パスを含める必要はありません。", "one.include.path.per.line": "1 行につき 1 つのインクルード パスです。", diff --git a/Extension/i18n/kor/c_cpp_properties.schema.json.i18n.json b/Extension/i18n/kor/c_cpp_properties.schema.json.i18n.json index 621793735c..4974b47efc 100644 --- a/Extension/i18n/kor/c_cpp_properties.schema.json.i18n.json +++ b/Extension/i18n/kor/c_cpp_properties.schema.json.i18n.json @@ -14,7 +14,7 @@ "c_cpp_properties.schema.json.definitions.configurations.items.properties.macFrameworkPath": "Mac 프레임워크에서 포함된 헤더를 검색하는 동안 사용할 IntelliSense 엔진의 경로 목록입니다. Mac 구성에서만 지원됩니다.", "c_cpp_properties.schema.json.definitions.configurations.items.properties.windowsSdkVersion": "Windows에서 사용할 Windows SDK 포함 경로의 버전입니다(예: '10.0.17134.0').", "c_cpp_properties.schema.json.definitions.configurations.items.properties.defines": "파일을 구문 분석하는 동안 사용할 IntelliSense 엔진의 전처리기 정의 목록입니다. 선택적으로 =을 사용하여 값을 설정합니다(예: VERSION= 1).", - "c_cpp_properties.schema.json.definitions.configurations.items.properties.intelliSenseMode": "The IntelliSense mode to use that maps to a platform and architecture variant of MSVC, gcc, or Clang. If not set or if set to ${default}, the extension will choose the default for that platform. Windows defaults to windows-msvc-x64, Linux defaults to linux-gcc-x64, and macOS defaults to macos-clang-x64. IntelliSense modes that only specify - variants (e.g. gcc-x64) are legacy modes and are converted automatically to the -- variants based on the host platform.", + "c_cpp_properties.schema.json.definitions.configurations.items.properties.intelliSenseMode": "MSVC, gcc 또는 Clang의 플랫폼 및 아키텍처 변형에 매핑되는 사용할 IntelliSense 모드입니다. 설정되지 않거나 ${default}로 설정된 경우 확장에서 해당 플랫폼의 기본값을 선택합니다. Windows의 경우 기본값인 windows-msvc-x64로 설정되고, Linux의 경우 기본값인 linux-gcc-x64로 설정되며, macOS의 경우 기본값인 macos-clang-x64로 설정됩니다. - 변형(예: gcc-x64)만 지정하는 IntelliSense 모드는 레거시 모드이며 호스트 플랫폼에 따라 -- 변형으로 자동으로 변환됩니다.", "c_cpp_properties.schema.json.definitions.configurations.items.properties.forcedInclude": "변환 단위에서 포함 파일 앞에 포함해야 하는 파일의 목록입니다.", "c_cpp_properties.schema.json.definitions.configurations.items.properties.configurationProvider": "소스 파일에 IntelliSense 구성 정보를 제공할 수 있는 VS Code 확장의 ID입니다.", "c_cpp_properties.schema.json.definitions.configurations.items.properties.browse.properties.limitSymbolsToIncludedHeaders": "true인 경우 직접적으로 또는 간접적으로 헤더로 포함된 파일만 처리되고, false인 경우 지정된 포함 경로 아래의 모든 파일이 처리됩니다.", diff --git a/Extension/i18n/kor/package.i18n.json b/Extension/i18n/kor/package.i18n.json index cb626ef45b..5b98492564 100644 --- a/Extension/i18n/kor/package.i18n.json +++ b/Extension/i18n/kor/package.i18n.json @@ -114,8 +114,8 @@ "c_cpp.configuration.vcFormat.wrap.preserveBlocks.allOneLineScopes.description": "VC 형식: 줄 바꿈 설정의 값과 관계없이 여는 중괄호와 닫는 중괄호가 한 줄에 입력된 코드가 한 줄에 유지됩니다.", "c_cpp.configuration.vcFormat.wrap.preserveBlocks.never.description": "항상 VC 형식: 줄 바꿈 설정의 값에 따라 코드 블록에 서식이 지정됩니다.", "c_cpp.configuration.clang_format_path.description": "clang-format 실행 파일의 전체 경로입니다. 지정하지 않은 경우 clang-format을 환경 경로에서 사용할 수 있으면 해당 실행 파일이 사용됩니다. 환경 경로에 clang-format이 없는 경우에는 확장과 함께 제공된 clang-format의 복사본이 사용됩니다.", - "c_cpp.configuration.clang_format_style.description": "Coding style, currently supports: Visual Studio, LLVM, Google, Chromium, Mozilla, WebKit. Use \"file\" to load the style from a .clang-format file in the current or parent directory. Use {key: value, ...} to set specific parameters. For example, the \"Visual Studio\" style is similar to: { BasedOnStyle: LLVM, UseTab: Never, IndentWidth: 4, TabWidth: 4, BreakBeforeBraces: Allman, AllowShortIfStatementsOnASingleLine: false, IndentCaseLabels: false, ColumnLimit: 0, AccessModifierOffset: -4, NamespaceIndentation: All, FixNamespaceComments: false }", - "c_cpp.configuration.clang_format_fallbackStyle.description": "Name of the predefined style used as a fallback in case clang-format is invoked with style \"file\" but the .clang-format file is not found. Possible values are Visual Studio, LLVM, Google, Chromium, Mozilla, WebKit, none, or use {key: value, ...} to set specific parameters. For example, the \"Visual Studio\" style is similar to: { BasedOnStyle: LLVM, UseTab: Never, IndentWidth: 4, TabWidth: 4, BreakBeforeBraces: Allman, AllowShortIfStatementsOnASingleLine: false, IndentCaseLabels: false, ColumnLimit: 0, AccessModifierOffset: -4, NamespaceIndentation: All, FixNamespaceComments: false }", + "c_cpp.configuration.clang_format_style.description": "코딩 스타일은 현재 Visual Studio, LLVM, Google, Chromium, Mozilla, WebKit을 지원합니다. \"file\"을 사용하여 현재 또는 부모 디렉터리의 .clang-format 파일에서 스타일을 로드합니다. {key: value, ...}을 사용하여 특정 매개 변수를 설정합니다. 예를 들어 \"Visual Studio\" 스타일은 { BasedOnStyle: LLVM, UseTab: Never, IndentWidth: 4, TabWidth: 4, BreakBeforeBraces: Allman, AllowShortIfStatementsOnASingleLine: false, IndentCaseLabels: false, ColumnLimit: 0, AccessModifierOffset: -4, NamespaceIndentation: All, FixNamespaceComments: false }와 유사합니다.", + "c_cpp.configuration.clang_format_fallbackStyle.description": "clang-format이 \"file\" 스타일을 사용하여 호출되지만 .clang-format 파일을 찾을 수 없는 경우 대체로 사용되는 미리 정의된 스타일의 이름입니다. 가능한 값은 Visual Studio, LLVM, Google, Chromium, Mozilla, WebKit, 없음이거나 {key: value, ...}을 사용하여 특정 매개 변수를 설정합니다. 예를 들어 \"Visual Studio\" 스타일은 { BasedOnStyle: LLVM, UseTab: Never, IndentWidth: 4, TabWidth: 4, BreakBeforeBraces: Allman, AllowShortIfStatementsOnASingleLine: false, IndentCaseLabels: false, ColumnLimit: 0, AccessModifierOffset: -4, NamespaceIndentation: All, FixNamespaceComments: false }와 유사합니다.", "c_cpp.configuration.clang_format_sortIncludes.description": "설정되는 경우 SortIncludes 매개 변수로 결정된 포함 정렬 동작을 재정의합니다.", "c_cpp.configuration.intelliSenseEngine.description": "IntelliSense 공급자를 제어합니다. \"태그 파서\"는 컨텍스트가 인식되지 않는 \"유사\" 결과를 제공합니다. \"Default\"는 컨텍스트가 인식된 결과를 제공합니다. \"Disabled\"는 C/C++ 언어 서비스 기능을 끕니다.", "c_cpp.configuration.intelliSenseEngineFallback.description": "IntelliSense 엔진이 #include 오류를 포함하는 변환 단위에 대해 태그 파서로 자동으로 전환되는지 여부를 제어합니다.", diff --git a/Extension/i18n/kor/ui/settings.html.i18n.json b/Extension/i18n/kor/ui/settings.html.i18n.json index d171cf91bb..3c9dd7d1f5 100644 --- a/Extension/i18n/kor/ui/settings.html.i18n.json +++ b/Extension/i18n/kor/ui/settings.html.i18n.json @@ -30,7 +30,7 @@ "compiler.arguments": "사용된 포함 또는 정의를 수정하는 컴파일러 인수입니다(예: {0}, {1} 등).", "one.argument.per.line": "줄당 하나의 인수입니다.", "intellisense.mode": "IntelliSense 모드", - "intellisense.mode.description": "The IntelliSense mode to use that maps to a platform and architecture variant of MSVC, gcc, or Clang. If not set or if set to {0}, the extension will choose the default for that platform. Windows defaults to {1}, Linux defaults to {2}, and macOS defaults to {3}. Select a specific IntelliSense mode to override the {4} mode. IntelliSense modes that only specify {5} variants (e.g. {6}) are legacy modes and are converted automatically to the {7} variants based on the host platform.", + "intellisense.mode.description": "MSVC, gcc 또는 Clang의 플랫폼 및 아키텍처 변형에 매핑되는 사용할 IntelliSense 모드입니다. 설정되지 않거나 {0}(으)로 설정된 경우 확장에서 해당 플랫폼의 기본값을 선택합니다. Windows의 경우 기본값인 {1}(으)로 설정되고, Linux의 경우 기본값인 {2}(으)로 설정되며, macOS의 경우 기본값인 {3}(으)로 설정됩니다. {4} 모드를 재정의하려면 특정 IntelliSense 모드를 선택합니다. {5} 변형(예: {6})만 지정하는 IntelliSense 모드는 레거시 모드이며 호스트 플랫폼에 따라 {7} 변형으로 자동으로 변환됩니다.", "include.path": "경로 포함", "include.path.description": "포함 경로는 소스 파일에 포함된 헤더 파일(예: {0})을 포함하는 폴더입니다. 포함된 헤더 파일을 검색하는 동안 사용할 IntelliSense 엔진의 경로 목록을 지정합니다. 이러한 경로 검색은 비재귀적입니다. 재귀적 검색을 나타내려면 {1}을(를) 지정합니다. 예를 들어 {2}은(는) 모든 하위 디렉터리를 검색하지만 {3}은(는) 그러지 않습니다. Visual Studio가 설치된 Windows를 사용하거나 {4} 설정에 컴파일러가 지정된 경우 이 목록에 시스템 포함 경로를 나열할 필요가 없습니다.", "one.include.path.per.line": "줄당 하나의 포함 경로입니다.", diff --git a/Extension/i18n/ptb/c_cpp_properties.schema.json.i18n.json b/Extension/i18n/ptb/c_cpp_properties.schema.json.i18n.json index ba9bdd0ef7..c07ffadea6 100644 --- a/Extension/i18n/ptb/c_cpp_properties.schema.json.i18n.json +++ b/Extension/i18n/ptb/c_cpp_properties.schema.json.i18n.json @@ -14,7 +14,7 @@ "c_cpp_properties.schema.json.definitions.configurations.items.properties.macFrameworkPath": "Uma lista de caminhos para o mecanismo IntelliSense usar durante a pesquisa de cabeçalhos incluídos por meio das estruturas Mac. Compatível somente com configurações do Mac.", "c_cpp_properties.schema.json.definitions.configurations.items.properties.windowsSdkVersion": "A versão do caminho de inclusão do SDK do Windows a ser usada no Windows, por exemplo, '10.0.17134.0'.", "c_cpp_properties.schema.json.definitions.configurations.items.properties.defines": "Uma lista de definições de pré-processador para o mecanismo IntelliSense usar durante a análise de arquivos. Opcionalmente, use = para definir um valor, por exemplo, VERSION=1.", - "c_cpp_properties.schema.json.definitions.configurations.items.properties.intelliSenseMode": "The IntelliSense mode to use that maps to a platform and architecture variant of MSVC, gcc, or Clang. If not set or if set to ${default}, the extension will choose the default for that platform. Windows defaults to windows-msvc-x64, Linux defaults to linux-gcc-x64, and macOS defaults to macos-clang-x64. IntelliSense modes that only specify - variants (e.g. gcc-x64) are legacy modes and are converted automatically to the -- variants based on the host platform.", + "c_cpp_properties.schema.json.definitions.configurations.items.properties.intelliSenseMode": "O modo do IntelliSense a ser usado, que é mapeado para uma plataforma e uma variante de arquitetura do MSVC, do gcc ou do Clang. Se esta opção não for definida ou se for definida como ${default}, a extensão escolherá o padrão dessa plataforma. O Windows usa windows-msvc-x64, o Linux usa linux-gcc-x64 e o macOS usa macos-clang-x64 como padrão. Os modos do IntelliSense que só especificam variantes - (por exemplo, gcc-x64) são os modos herdados, que são convertidos automaticamente nas variantes -- com base na plataforma host.", "c_cpp_properties.schema.json.definitions.configurations.items.properties.forcedInclude": "Uma lista de arquivos que devem ser incluídos antes de qualquer arquivo de inclusão em uma unidade de tradução.", "c_cpp_properties.schema.json.definitions.configurations.items.properties.configurationProvider": "A ID de uma extensão do VS Code que pode fornecer informações de configuração do IntelliSense para arquivos de origem.", "c_cpp_properties.schema.json.definitions.configurations.items.properties.browse.properties.limitSymbolsToIncludedHeaders": "true para processar somente os arquivos direta ou indiretamente incluídos como cabeçalhos, false para processar todos os arquivos nos caminhos de inclusão especificados.", diff --git a/Extension/i18n/ptb/package.i18n.json b/Extension/i18n/ptb/package.i18n.json index fffe631b36..83d10eff79 100644 --- a/Extension/i18n/ptb/package.i18n.json +++ b/Extension/i18n/ptb/package.i18n.json @@ -114,8 +114,8 @@ "c_cpp.configuration.vcFormat.wrap.preserveBlocks.allOneLineScopes.description": "Todo código cujas chaves de abertura e de fechamento são inseridas em uma linha são mantidos em uma linha, independentemente dos valores das configurações Formato: Nova Linha do VC", "c_cpp.configuration.vcFormat.wrap.preserveBlocks.never.description": "Os blocos de código são sempre formatados com base nos valores das configurações Formato: Nova Linha do VC", "c_cpp.configuration.clang_format_path.description": "O caminho completo do executável no clang-format. Se ele não for especificado e o clang-format estiver disponível no caminho do ambiente, ele será usado. Se ele não for encontrado no caminho do ambiente, será usada uma cópia no clang-format empacotada com a extensão.", - "c_cpp.configuration.clang_format_style.description": "Coding style, currently supports: Visual Studio, LLVM, Google, Chromium, Mozilla, WebKit. Use \"file\" to load the style from a .clang-format file in the current or parent directory. Use {key: value, ...} to set specific parameters. For example, the \"Visual Studio\" style is similar to: { BasedOnStyle: LLVM, UseTab: Never, IndentWidth: 4, TabWidth: 4, BreakBeforeBraces: Allman, AllowShortIfStatementsOnASingleLine: false, IndentCaseLabels: false, ColumnLimit: 0, AccessModifierOffset: -4, NamespaceIndentation: All, FixNamespaceComments: false }", - "c_cpp.configuration.clang_format_fallbackStyle.description": "Name of the predefined style used as a fallback in case clang-format is invoked with style \"file\" but the .clang-format file is not found. Possible values are Visual Studio, LLVM, Google, Chromium, Mozilla, WebKit, none, or use {key: value, ...} to set specific parameters. For example, the \"Visual Studio\" style is similar to: { BasedOnStyle: LLVM, UseTab: Never, IndentWidth: 4, TabWidth: 4, BreakBeforeBraces: Allman, AllowShortIfStatementsOnASingleLine: false, IndentCaseLabels: false, ColumnLimit: 0, AccessModifierOffset: -4, NamespaceIndentation: All, FixNamespaceComments: false }", + "c_cpp.configuration.clang_format_style.description": "No momento o estilo de codificação dá suporte para: Visual Studio, LLVM, Google, Chromium, Mozilla e WebKit. Use \"file\" para carregar o estilo de um arquivo .clang-format no diretório atual ou pai. Use {chave: valor, ...} para definir parâmetros específicos. Por exemplo, o estilo \"Visual Studio\" é semelhante a: { BasedOnStyle: LLVM, UseTab: Never, IndentWidth: 4, TabWidth: 4, BreakBeforeBraces: Allman, AllowShortIfStatementsOnASingleLine: false, IndentCaseLabels: false, ColumnLimit: 0, AccessModifierOffset: -4, NamespaceIndentation: All, FixNamespaceComments: false }", + "c_cpp.configuration.clang_format_fallbackStyle.description": "O nome do estilo predefinido usado como fallback quando o clang-format é invocado com o estilo \"file\", mas o arquivo .clang-format não é encontrado. Os valores possíveis são Visual Studio, LLVM, Google, Chromium, Mozilla, WebKit ou nenhum. Use {chave: valor, ...} para definir parâmetros específicos. Por exemplo, o estilo \"Visual Studio\" é semelhante a: { BasedOnStyle: LLVM, UseTab: Never, IndentWidth: 4, TabWidth: 4, BreakBeforeBraces: Allman, AllowShortIfStatementsOnASingleLine: false, IndentCaseLabels: false, ColumnLimit: 0, AccessModifierOffset: -4, NamespaceIndentation: All, FixNamespaceComments: false }", "c_cpp.configuration.clang_format_sortIncludes.description": "Se definido, substitui o comportamento de classificação de inclusão determinado pelo parâmetro SortIncludes.", "c_cpp.configuration.intelliSenseEngine.description": "Controla o provedor IntelliSense. \"Analisador de Marca\" fornece resultados \"difusos\" sem reconhecimento de contexto. \"Padrão\" fornece resultados de reconhecimento de contexto. \"Desabilitado\" desativa os recursos do serviço de linguagem C/C++.", "c_cpp.configuration.intelliSenseEngineFallback.description": "Controla se o mecanismo IntelliSense alternará automaticamente para o Analisador de Marca para unidades de tradução contendo erros de #include.", diff --git a/Extension/i18n/ptb/ui/settings.html.i18n.json b/Extension/i18n/ptb/ui/settings.html.i18n.json index d16f77f8fe..befdb6b9f2 100644 --- a/Extension/i18n/ptb/ui/settings.html.i18n.json +++ b/Extension/i18n/ptb/ui/settings.html.i18n.json @@ -30,7 +30,7 @@ "compiler.arguments": "Argumentos do compilador para modificar as inclusões ou definições usadas, por exemplo, {0}, {1} etc.", "one.argument.per.line": "Um argumento por linha.", "intellisense.mode": "Modo do IntelliSense", - "intellisense.mode.description": "The IntelliSense mode to use that maps to a platform and architecture variant of MSVC, gcc, or Clang. If not set or if set to {0}, the extension will choose the default for that platform. Windows defaults to {1}, Linux defaults to {2}, and macOS defaults to {3}. Select a specific IntelliSense mode to override the {4} mode. IntelliSense modes that only specify {5} variants (e.g. {6}) are legacy modes and are converted automatically to the {7} variants based on the host platform.", + "intellisense.mode.description": "O modo do IntelliSense a ser usado, que é mapeado para uma plataforma e uma variante de arquitetura do MSVC, do gcc ou do Clang. Se esta opção não for definida ou se for definida como {0}, a extensão escolherá o padrão dessa plataforma. O Windows usa {1}, o Linux usa {2} e o macOS usa {3} como padrão. Selecione um modo do IntelliSense específico para substituir o modo {4}. Os modos do IntelliSense que só especificam variantes {5} (por exemplo, {6}) são os modos herdados, que são convertidos automaticamente nas variantes {7} com base na plataforma host.", "include.path": "Incluir caminho", "include.path.description": "Um caminho de inclusão é uma pasta que contém os arquivos de cabeçalho (como {0}) que estão incluídos em um arquivo de origem. Especifique uma lista de caminhos para o mecanismo IntelliSense usar ao procurar arquivos de cabeçalho incluídos. A pesquisa nesses caminhos não é recursiva. Especifique {1} para indicar uma pesquisa recursiva. Por exemplo, {2} pesquisará em todos os subdiretórios, enquanto {3} não fará isso. No Windows com o Visual Studio instalado ou quando um compilador está especificado na configuração {4}, não é necessário listar os caminhos de inclusão do sistema nessa lista.", "one.include.path.per.line": "Um caminho de inclusão por linha.", diff --git a/Extension/i18n/rus/c_cpp_properties.schema.json.i18n.json b/Extension/i18n/rus/c_cpp_properties.schema.json.i18n.json index fe89340b85..e9e5325592 100644 --- a/Extension/i18n/rus/c_cpp_properties.schema.json.i18n.json +++ b/Extension/i18n/rus/c_cpp_properties.schema.json.i18n.json @@ -14,7 +14,7 @@ "c_cpp_properties.schema.json.definitions.configurations.items.properties.macFrameworkPath": "Список путей для подсистемы IntelliSense, используемых при поиске включаемых файлов заголовков из платформ Mac. Поддерживается только в конфигурации для Mac.", "c_cpp_properties.schema.json.definitions.configurations.items.properties.windowsSdkVersion": "Версия пути включения Windows SDK для использования в Windows, например \"10.0.17134.0\".", "c_cpp_properties.schema.json.definitions.configurations.items.properties.defines": "Список определений препроцессора для подсистемы IntelliSense, используемых при анализе файлов. При необходимости вы можете задать значение с помощью \"=\", например: VERSION=1.", - "c_cpp_properties.schema.json.definitions.configurations.items.properties.intelliSenseMode": "The IntelliSense mode to use that maps to a platform and architecture variant of MSVC, gcc, or Clang. If not set or if set to ${default}, the extension will choose the default for that platform. Windows defaults to windows-msvc-x64, Linux defaults to linux-gcc-x64, and macOS defaults to macos-clang-x64. IntelliSense modes that only specify - variants (e.g. gcc-x64) are legacy modes and are converted automatically to the -- variants based on the host platform.", + "c_cpp_properties.schema.json.definitions.configurations.items.properties.intelliSenseMode": "Используемый режим IntelliSense, соответствующий определенному варианту платформы и архитектуры MSVC, gcc или Clang. Если значение не указано или указано значение ${default}, расширение выберет вариант по умолчанию для этой платформы. Для Windows по умолчанию используется windows-msvc-x64, для Linux — linux-gcc-x64, а для macOS — macos-clang-x64. Режимы IntelliSense, в которых указаны только варианты - (например, gcc-x64), являются устаревшими и автоматически преобразуются в варианты -- на основе платформы узла.", "c_cpp_properties.schema.json.definitions.configurations.items.properties.forcedInclude": "Список файлов, которые должны быть включены перед любым файлом включений в единице трансляции.", "c_cpp_properties.schema.json.definitions.configurations.items.properties.configurationProvider": "Идентификатор расширения VS Code, которое может предоставить данные конфигурации IntelliSense для исходных файлов.", "c_cpp_properties.schema.json.definitions.configurations.items.properties.browse.properties.limitSymbolsToIncludedHeaders": "При значении true (истина) будут обрабатываться только файлы, прямо или косвенно включенные как файлы заголовков, а при значении false (ложь) — все файлы по указанным путям для включений.", diff --git a/Extension/i18n/rus/package.i18n.json b/Extension/i18n/rus/package.i18n.json index 9041087260..9db9fbe0ef 100644 --- a/Extension/i18n/rus/package.i18n.json +++ b/Extension/i18n/rus/package.i18n.json @@ -114,8 +114,8 @@ "c_cpp.configuration.vcFormat.wrap.preserveBlocks.allOneLineScopes.description": "Любой код, в котором открывающая и закрывающая фигурные скобки введены в одной строке, остается в ней вне зависимости от значений параметров \"Формат VC: новая строка\".", "c_cpp.configuration.vcFormat.wrap.preserveBlocks.never.description": "Блоки кода всегда форматируются на основе значений параметров \"Формат VC: новая строка\".", "c_cpp.configuration.clang_format_path.description": "Полный путь к исполняемому файлу clang-format. Если значение не указано, а clang-format доступен в пути среды, то используется clang-format. Если clang-format не найден в пути среды, будет использоваться копия clang-format, поддерживаемая расширением.", - "c_cpp.configuration.clang_format_style.description": "Coding style, currently supports: Visual Studio, LLVM, Google, Chromium, Mozilla, WebKit. Use \"file\" to load the style from a .clang-format file in the current or parent directory. Use {key: value, ...} to set specific parameters. For example, the \"Visual Studio\" style is similar to: { BasedOnStyle: LLVM, UseTab: Never, IndentWidth: 4, TabWidth: 4, BreakBeforeBraces: Allman, AllowShortIfStatementsOnASingleLine: false, IndentCaseLabels: false, ColumnLimit: 0, AccessModifierOffset: -4, NamespaceIndentation: All, FixNamespaceComments: false }", - "c_cpp.configuration.clang_format_fallbackStyle.description": "Name of the predefined style used as a fallback in case clang-format is invoked with style \"file\" but the .clang-format file is not found. Possible values are Visual Studio, LLVM, Google, Chromium, Mozilla, WebKit, none, or use {key: value, ...} to set specific parameters. For example, the \"Visual Studio\" style is similar to: { BasedOnStyle: LLVM, UseTab: Never, IndentWidth: 4, TabWidth: 4, BreakBeforeBraces: Allman, AllowShortIfStatementsOnASingleLine: false, IndentCaseLabels: false, ColumnLimit: 0, AccessModifierOffset: -4, NamespaceIndentation: All, FixNamespaceComments: false }", + "c_cpp.configuration.clang_format_style.description": "Стиль кода. Сейчас поддерживаются следующие стили: Visual Studio, LLVM, Google, Chromium, Mozilla, WebKit. Используйте \"file\", чтобы загрузить стиль из файла .clang-format в текущем или родительском каталоге. Используйте синтаксис {ключ: значение, ...}, чтобы задать конкретные параметры. Например, стиль \"Visual Studio\" похож на следующий: { BasedOnStyle: LLVM, UseTab: Never, IndentWidth: 4, TabWidth: 4, BreakBeforeBraces: Allman, AllowShortIfStatementsOnASingleLine: false, IndentCaseLabels: false, ColumnLimit: 0, AccessModifierOffset: -4, NamespaceIndentation: All, FixNamespaceComments: false }", + "c_cpp.configuration.clang_format_fallbackStyle.description": "Имя предварительно определенного стиля, используемое в качестве резервного варианта при вызове CLANG-FORMAT со стилем \"file\", когда файл CLANG-FORMAT не найден. Возможные значения: Visual Studio, LLVM, Google, Chromium, Mozilla, WebKit, none. Используйте синтаксис {ключ: значение, ...}, чтобы задать конкретные параметры. Например, стиль \"Visual Studio\" похож на следующий: { BasedOnStyle: LLVM, UseTab: Never, IndentWidth: 4, TabWidth: 4, BreakBeforeBraces: Allman, AllowShortIfStatementsOnASingleLine: false, IndentCaseLabels: false, ColumnLimit: 0, AccessModifierOffset: -4, NamespaceIndentation: All, FixNamespaceComments: false }", "c_cpp.configuration.clang_format_sortIncludes.description": "Если параметр задан, он переопределяет поведение сортировки включения, определяемое параметром SortIncludes.", "c_cpp.configuration.intelliSenseEngine.description": "Управляет поставщиком IntelliSense. Значение \"Анализатор тегов\" дает нечеткие результаты, не учитывающие контекст. Значение \"По умолчанию\" дает результаты с учетом контекста. Значение \"Отключено\" выключает компоненты языковой службы C/C++.", "c_cpp.configuration.intelliSenseEngineFallback.description": "Определяет, будет ли подсистема IntelliSense автоматически переключаться на анализатор тегов для единиц трансляции, содержащих ошибки #include.", diff --git a/Extension/i18n/rus/ui/settings.html.i18n.json b/Extension/i18n/rus/ui/settings.html.i18n.json index ffba66ec0c..d68fac0564 100644 --- a/Extension/i18n/rus/ui/settings.html.i18n.json +++ b/Extension/i18n/rus/ui/settings.html.i18n.json @@ -30,7 +30,7 @@ "compiler.arguments": "Аргументы компилятора для изменения используемых включений или определений, например {0}, {1} и т. д.", "one.argument.per.line": "Один аргумент в строке.", "intellisense.mode": "Режим IntelliSense", - "intellisense.mode.description": "The IntelliSense mode to use that maps to a platform and architecture variant of MSVC, gcc, or Clang. If not set or if set to {0}, the extension will choose the default for that platform. Windows defaults to {1}, Linux defaults to {2}, and macOS defaults to {3}. Select a specific IntelliSense mode to override the {4} mode. IntelliSense modes that only specify {5} variants (e.g. {6}) are legacy modes and are converted automatically to the {7} variants based on the host platform.", + "intellisense.mode.description": "Используемый режим IntelliSense, соответствующий определенному варианту платформы и архитектуры MSVC, gcc или Clang. Если значение не указано или указано значение {0}, расширение выберет вариант по умолчанию для этой платформы. Для Windows по умолчанию используется {1}, для Linux — {2}, а для macOS — {3}. Вы можете переопределить режим {4}, выбрав конкретный режим IntelliSense. Режимы IntelliSense, в которых указаны только варианты {5} (например, {6}), являются устаревшими и автоматически преобразуются в варианты {7} на основе платформы узла.", "include.path": "Включить путь", "include.path.description": "Путь включения — это папка, содержащая файлы заголовков (например, {0}), включаемые в исходный файл. Укажите список путей, которые подсистема IntelliSense будет использовать для поиска заголовков. Поиск по этим путям не является рекурсивным. Чтобы использовать рекурсивный поиск, укажите {1}. Например, если указать {2}, то будет выполнен поиск по всем подкаталогам, а если указать {3} — не будет. Если вы работаете в Windows с установленной средой Visual Studio или в параметре {4} указан компилятор, перечислять системные пути включения в этом списке не нужно.", "one.include.path.per.line": "Один путь включения в строке.", diff --git a/Extension/i18n/trk/c_cpp_properties.schema.json.i18n.json b/Extension/i18n/trk/c_cpp_properties.schema.json.i18n.json index 127823d96a..18194b0265 100644 --- a/Extension/i18n/trk/c_cpp_properties.schema.json.i18n.json +++ b/Extension/i18n/trk/c_cpp_properties.schema.json.i18n.json @@ -14,7 +14,7 @@ "c_cpp_properties.schema.json.definitions.configurations.items.properties.macFrameworkPath": "Mac çerçevelerinden eklenen üst bilgileri ararken IntelliSense altyapısı tarafından kullanılacak yolların listesi. Yalnızca Mac yapılandırmalarında desteklenir.", "c_cpp_properties.schema.json.definitions.configurations.items.properties.windowsSdkVersion": "Windows üzerinde kullanılacak Windows SDK ekleme yolu sürümü, ör. '10.0.17134.0'.", "c_cpp_properties.schema.json.definitions.configurations.items.properties.defines": "IntelliSense altyapısının dosyaları ayrıştırırken kullanacağı ön işlemci tanımlarının bir listesi. İsteğe bağlı olarak, bir değer ayarlamak için = kullanın, örneğin VERSION=1.", - "c_cpp_properties.schema.json.definitions.configurations.items.properties.intelliSenseMode": "The IntelliSense mode to use that maps to a platform and architecture variant of MSVC, gcc, or Clang. If not set or if set to ${default}, the extension will choose the default for that platform. Windows defaults to windows-msvc-x64, Linux defaults to linux-gcc-x64, and macOS defaults to macos-clang-x64. IntelliSense modes that only specify - variants (e.g. gcc-x64) are legacy modes and are converted automatically to the -- variants based on the host platform.", + "c_cpp_properties.schema.json.definitions.configurations.items.properties.intelliSenseMode": "MSVC, gcc veya Clang'in platform ve mimari varyantına eşlemek için kullanılacak IntelliSense modu. Ayarlanmazsa veya ${default} olarak belirlenirse uzantı, ilgili platform için varsayılan ayarı seçer. Windows için varsayılan olarak windows-msvc-x64, Linux için varsayılan olarak linux-gcc-x64 ve macOS için varsayılan olarak macos-clang-x64 kullanılır. Yalnızca - varyantlarını belirten IntelliSense modları (yani gcc-x64), eski modlardır ve konak platformuna göre otomatik olarak -- varyantlarına dönüştürülür.", "c_cpp_properties.schema.json.definitions.configurations.items.properties.forcedInclude": "Çeviri birimindeki herhangi bir içerme dosyasından önce dahil edilmesi gereken dosyaların listesi.", "c_cpp_properties.schema.json.definitions.configurations.items.properties.configurationProvider": "Kaynak dosyalar için IntelliSense yapılandırma bilgilerini sağlayabilecek VS Code uzantısının kimliği.", "c_cpp_properties.schema.json.definitions.configurations.items.properties.browse.properties.limitSymbolsToIncludedHeaders": "yalnızca doğrudan veya dolaylı olarak üst bilgi olarak dahil edilen dosyaları işlemek için true, belirtilen ekleme yolları altındaki tüm dosyaları işlemek için false.", diff --git a/Extension/i18n/trk/package.i18n.json b/Extension/i18n/trk/package.i18n.json index bfa8388d45..ec8b34deae 100644 --- a/Extension/i18n/trk/package.i18n.json +++ b/Extension/i18n/trk/package.i18n.json @@ -114,8 +114,8 @@ "c_cpp.configuration.vcFormat.wrap.preserveBlocks.allOneLineScopes.description": "Açma ve kapama küme ayracının bir satırda girildiği tüm kodlar, VC Biçimi: Yeni Satır ayarlarının herhangi birinin değerinden bağımsız olarak tek satırda tutulur", "c_cpp.configuration.vcFormat.wrap.preserveBlocks.never.description": "Kod blokları her zaman VC Biçimi: Yeni Satır ayarlarının değerlerine göre biçimlendirilir", "c_cpp.configuration.clang_format_path.description": "clang-format yürütülebilir dosyasının tam yolu. Belirtilmezse ve ortam yolunda clang-format kullanılabiliyorsa, bu kullanılır. Ortam yolunda bulunmazsa, uzantı ile paketlenmiş bir clang-format kopyası kullanılır.", - "c_cpp.configuration.clang_format_style.description": "Coding style, currently supports: Visual Studio, LLVM, Google, Chromium, Mozilla, WebKit. Use \"file\" to load the style from a .clang-format file in the current or parent directory. Use {key: value, ...} to set specific parameters. For example, the \"Visual Studio\" style is similar to: { BasedOnStyle: LLVM, UseTab: Never, IndentWidth: 4, TabWidth: 4, BreakBeforeBraces: Allman, AllowShortIfStatementsOnASingleLine: false, IndentCaseLabels: false, ColumnLimit: 0, AccessModifierOffset: -4, NamespaceIndentation: All, FixNamespaceComments: false }", - "c_cpp.configuration.clang_format_fallbackStyle.description": "Name of the predefined style used as a fallback in case clang-format is invoked with style \"file\" but the .clang-format file is not found. Possible values are Visual Studio, LLVM, Google, Chromium, Mozilla, WebKit, none, or use {key: value, ...} to set specific parameters. For example, the \"Visual Studio\" style is similar to: { BasedOnStyle: LLVM, UseTab: Never, IndentWidth: 4, TabWidth: 4, BreakBeforeBraces: Allman, AllowShortIfStatementsOnASingleLine: false, IndentCaseLabels: false, ColumnLimit: 0, AccessModifierOffset: -4, NamespaceIndentation: All, FixNamespaceComments: false }", + "c_cpp.configuration.clang_format_style.description": "Kodlama stili şu anda şunları destekliyor: Visual Studio, LLVM, Google, Chromium, Mozilla, WebKit. Geçerli veya üst dizindeki .clang-format dosyasından stili yüklemek için \"file\" kullanın. Belirli parametreleri ayarlamak için {anahtar: değer, ...} kullanın. Örneğin, \"Visual Studio\" stili şuna benzer: { BasedOnStyle: LLVM, UseTab: Never, IndentWidth: 4, TabWidth: 4, BreakBeforeBraces: Allman, AllowShortIfStatementsOnASingleLine: false, IndentCaseLabels: false, ColumnLimit: 0, AccessModifierOffset: -4, NamespaceIndentation: All, FixNamespaceComments: false }", + "c_cpp.configuration.clang_format_fallbackStyle.description": "Clang-format, \"dosya\" stiliyle çağrıldığında geri dönüş olarak kullanılan önceden tanımlı stilin adı, ancak .clang-format dosyası bulunamadı. Olası değerler: Visual Studio, LLVM, Google, Chromium, Mozilla, WebKit, none veya belirli parametreleri ayarlamak için {anahtar: değer, ...} kullanın. Örneğin, \"Visual Studio\" stili şuna benzer: { BasedOnStyle: LLVM, UseTab: Never, IndentWidth: 4, TabWidth: 4, BreakBeforeBraces: Allman, AllowShortIfStatementsOnASingleLine: false, IndentCaseLabels: false, ColumnLimit: 0, AccessModifierOffset: -4, NamespaceIndentation: All, FixNamespaceComments: false }", "c_cpp.configuration.clang_format_sortIncludes.description": "Ayarlanırsa, SortIncludes parametresi tarafından belirlenen ekleme sıralama davranışını geçersiz kılar.", "c_cpp.configuration.intelliSenseEngine.description": "IntelliSense sağlayıcısını denetler. \"Etiket Ayrıştırıcısı\", bağlama duyarlı olmayan \"belirsiz\" sonuçlar sağlar. \"Varsayılan\", bağlama duyarlı sonuçlar sağlar. \"Devre dışı\", C/C++ dil hizmeti özelliklerini kapatır.", "c_cpp.configuration.intelliSenseEngineFallback.description": "IntelliSense altyapısının #include hatalarını içeren çeviri birimleri için otomatik olarak Etiket Ayrıştırıcısı'na geçip geçmeyeceğini denetler.", diff --git a/Extension/i18n/trk/ui/settings.html.i18n.json b/Extension/i18n/trk/ui/settings.html.i18n.json index a9fa4bbbb5..d57510a40f 100644 --- a/Extension/i18n/trk/ui/settings.html.i18n.json +++ b/Extension/i18n/trk/ui/settings.html.i18n.json @@ -30,7 +30,7 @@ "compiler.arguments": "Kullanılan eklemeleri veya tanımları değiştirmek için derleyici bağımsız değişkenleri. Örneğin {0}, {1}, vb.", "one.argument.per.line": "Satır başına bir bağımsız değişken.", "intellisense.mode": "IntelliSense modu", - "intellisense.mode.description": "The IntelliSense mode to use that maps to a platform and architecture variant of MSVC, gcc, or Clang. If not set or if set to {0}, the extension will choose the default for that platform. Windows defaults to {1}, Linux defaults to {2}, and macOS defaults to {3}. Select a specific IntelliSense mode to override the {4} mode. IntelliSense modes that only specify {5} variants (e.g. {6}) are legacy modes and are converted automatically to the {7} variants based on the host platform.", + "intellisense.mode.description": "MSVC, gcc veya Clang'in platform ve mimari varyantına eşlemek için kullanılacak IntelliSense modu. Ayarlanmazsa veya {0} olarak belirlenirse uzantı, ilgili platform için varsayılan ayarı seçer. Windows için varsayılan olarak {1}, Linux için varsayılan olarak {2} ve macOS için varsayılan olarak {3} kullanılır. {4} modunu geçersiz kılmak için belirli bir IntelliSense modunu seçin. Yalnızca {5} varyantlarını belirten IntelliSense modları (yani {6}), eski modlardır ve konak platformuna göre otomatik olarak {7} varyantlarına dönüştürülür.", "include.path": "Yol ekle", "include.path.description": "Ekleme yolu, kaynak dosyasına dahil edilen üst bilgi dosyalarını ({0} gibi) içeren bir klasördür. IntelliSense altyapısının eklenen üst bilgi dosyalarını ararken kullanacağı yolların bir listesini belirtin. Bu yollarda arama özyinelemeli değildir. Özyinelemeli aramayı göstermek için {1} belirtin. Örneğin, {2} tüm alt dizinleri ararken {3} aramaz. Visual Studio yüklü Windows kullanıyorsanız veya {4} ayarında bir derleyici belirtilmişse bu listede sistem ekleme yollarının listelenmesi gerekmez.", "one.include.path.per.line": "Satır başına bir ekleme yolu.", diff --git a/Extension/package.json b/Extension/package.json index 8f2e6c0c16..db2868d2a0 100644 --- a/Extension/package.json +++ b/Extension/package.json @@ -2,7 +2,7 @@ "name": "cpptools", "displayName": "C/C++", "description": "C/C++ IntelliSense, debugging, and code browsing.", - "version": "1.2.1", + "version": "1.2.2-main", "publisher": "ms-vscode", "icon": "LanguageCCPP_color_128x.png", "readme": "README.md", @@ -2004,7 +2004,7 @@ "%c_cpp.debuggers.cppvsdbg.console.newExternalWindow.description%" ], "description": "%c_cpp.debuggers.cppvsdbg.console.description%", - "default": "externalTerminal" + "default": "internalConsole" }, "sourceFileMap": { "type": "object", @@ -2472,7 +2472,7 @@ "runtimeDependencies": [ { "description": "C/C++ language components (Linux / x86_64)", - "url": "https://go.microsoft.com/fwlink/?linkid=2155055", + "url": "https://go.microsoft.com/fwlink/?linkid=2156408", "platforms": [ "linux" ], @@ -2483,11 +2483,11 @@ "./bin/cpptools", "./bin/cpptools-srv" ], - "integrity": "FDF8FA4701541B1452E70E21D0612ABAD0755B4CDA43A22F2F64408295ABE3DE" + "integrity": "81740FC42FDFBEC9AF72EE69B6FC985841E8879DE7197D1859B339BE0418E2C2" }, { "description": "C/C++ language components (Linux / armhf)", - "url": "https://go.microsoft.com/fwlink/?linkid=2155056", + "url": "https://go.microsoft.com/fwlink/?linkid=2156409", "platforms": [ "linux" ], @@ -2498,11 +2498,11 @@ "./bin/cpptools", "./bin/cpptools-srv" ], - "integrity": "E0D0074697142568720D11A340AB30E31F07A7A4CEDA5E46A2C26E16F5CF1B09" + "integrity": "E12B49A74D9E6D7D43BE7ED88E470B8871E1750392D48B0FCFEED4C7E5C523FB" }, { "description": "C/C++ language components (Linux / aarch64)", - "url": "https://go.microsoft.com/fwlink/?linkid=2155054", + "url": "https://go.microsoft.com/fwlink/?linkid=2156407", "platforms": [ "linux" ], @@ -2513,11 +2513,11 @@ "./bin/cpptools", "./bin/cpptools-srv" ], - "integrity": "5D7E1813226F1C222CF1E458F30C6BDBCB3ECEDCCCA624A76E1C6A8EDA7DD8AB" + "integrity": "F84424B48790EAE110F0B4ED35D8DEE2347754C79C9A1879BCE5A93038A249A3" }, { "description": "C/C++ language components (OS X)", - "url": "https://go.microsoft.com/fwlink/?linkid=2154885", + "url": "https://go.microsoft.com/fwlink/?linkid=2156301", "platforms": [ "darwin" ], @@ -2525,11 +2525,11 @@ "./bin/cpptools", "./bin/cpptools-srv" ], - "integrity": "6F44267C13A946FD3A47B9F697D69104A70817D355CDD75DFEFCA28C234DAEC2" + "integrity": "448A17E1D7C639C99F0AE47A88705956BA03F8CFA401C0C00CD074945275B513" }, { "description": "C/C++ language components (Windows)", - "url": "https://go.microsoft.com/fwlink/?linkid=2155057", + "url": "https://go.microsoft.com/fwlink/?linkid=2156410", "platforms": [ "win32" ], @@ -2541,11 +2541,11 @@ "./bin/cpptools.exe", "./bin/cpptools-srv.exe" ], - "integrity": "68FB052A6F26A6E3287DAF7DBE4B2EDC9AC7EDAC3CFEFA91D709E466E5E97436" + "integrity": "39B7EA69F9CDC1B2B98DBFD189617640029E6C9CBDFE9BF6789B4E013D6550F4" }, { "description": "C/C++ language components (Windows ARM64)", - "url": "https://go.microsoft.com/fwlink/?linkid=2155058", + "url": "https://go.microsoft.com/fwlink/?linkid=2156502", "platforms": [ "win32" ], @@ -2556,7 +2556,7 @@ "./bin/cpptools.exe", "./bin/cpptools-srv.exe" ], - "integrity": "A9C9EBCFCBB91D8212F912B93CBADFF873126089AF4E74B660EAEB9D91EB0DA7" + "integrity": "30B836279F948CDFD751546E679F459FE2CFD7BD578952AF1A1D8943D5C4A0F6" }, { "description": "ClangFormat (Linux / x86_64)", diff --git a/Extension/src/Debugger/configurationProvider.ts b/Extension/src/Debugger/configurationProvider.ts index cd4e5cb5a4..08a34c8ef5 100644 --- a/Extension/src/Debugger/configurationProvider.ts +++ b/Extension/src/Debugger/configurationProvider.ts @@ -182,7 +182,11 @@ class CppConfigurationProvider implements vscode.DebugConfigurationProvider { newConfig.name = compilerName + buildAndDebugActiveFileStr(); newConfig.preLaunchTask = task.name; - newConfig.console = "externalTerminal"; + if (newConfig.type === "cppdbg") { + newConfig.externalConsole = false; + } else { + newConfig.console = "externalTerminal"; + } const exeName: string = path.join("${fileDirname}", "${fileBasenameNoExtension}"); const isWindows: boolean = platform === 'win32'; newConfig.program = isWindows ? exeName + ".exe" : exeName; diff --git a/Extension/src/Debugger/configurations.ts b/Extension/src/Debugger/configurations.ts index 4a4908ff7d..5f809cb446 100644 --- a/Extension/src/Debugger/configurations.ts +++ b/Extension/src/Debugger/configurations.ts @@ -44,7 +44,7 @@ function createLaunchString(name: string, type: string, executable: string): str "stopAtEntry": false, "cwd": "$\{workspaceFolder\}", "environment": [], -"console": "externalTerminal" +${ type === "cppdbg" ? `"externalConsole": false` : `"console": "externalTerminal"` } `; } diff --git a/Extension/src/LanguageServer/client.ts b/Extension/src/LanguageServer/client.ts index 6f7826b445..0ee7e158f2 100644 --- a/Extension/src/LanguageServer/client.ts +++ b/Extension/src/LanguageServer/client.ts @@ -705,7 +705,7 @@ export class DefaultClient implements Client { constructor(allClients: ClientCollection, workspaceFolder?: vscode.WorkspaceFolder) { this.rootFolder = workspaceFolder; - this.rootRealPath = this.RootPath ? fs.realpathSync(this.RootPath) : ""; + this.rootRealPath = this.RootPath ? (fs.existsSync(this.RootPath) ? fs.realpathSync(this.RootPath) : this.RootPath) : ""; let storagePath: string | undefined; if (util.extensionContext) { const path: string | undefined = util.extensionContext.storageUri?.fsPath; diff --git a/Extension/src/LanguageServer/clientCollection.ts b/Extension/src/LanguageServer/clientCollection.ts index aa15f9edea..9675f83d26 100644 --- a/Extension/src/LanguageServer/clientCollection.ts +++ b/Extension/src/LanguageServer/clientCollection.ts @@ -23,7 +23,7 @@ export class ClientCollection { private defaultClient: cpptools.Client; private activeClient: cpptools.Client; private activeDocument?: vscode.TextDocument; - public timeTelemetryCollector: TimeTelemetryCollector; + public timeTelemetryCollector: TimeTelemetryCollector = new TimeTelemetryCollector(); public get ActiveClient(): cpptools.Client { return this.activeClient; } public get Names(): ClientKey[] { @@ -62,8 +62,6 @@ export class ClientCollection { this.disposables.push(vscode.workspace.onDidChangeWorkspaceFolders(e => this.onDidChangeWorkspaceFolders(e))); this.disposables.push(vscode.workspace.onDidCloseTextDocument(d => this.onDidCloseTextDocument(d))); - - this.timeTelemetryCollector = new TimeTelemetryCollector(); } public activeDocumentChanged(document: vscode.TextDocument): void { diff --git a/Extension/test/integrationTests/languageServer/runTest.ts b/Extension/test/integrationTests/languageServer/runTest.ts index bddcd5c1e8..a1f32c5da3 100644 --- a/Extension/test/integrationTests/languageServer/runTest.ts +++ b/Extension/test/integrationTests/languageServer/runTest.ts @@ -12,7 +12,7 @@ async function main() { // Passed to --extensionTestsPath const extensionTestsPath = path.resolve(__dirname, './index'); - const testWorkspace = path.resolve(extensionDevelopmentPath, 'test/integrationTests/testAssets/SimpleCppProject'); + const testWorkspace = path.resolve(extensionDevelopmentPath, 'test/integrationTests/testAssets/SimpleCppProject/simpleCppProject.code-workspace'); const launchArgs = [ "--disable-extensions", testWorkspace ]; diff --git a/Extension/test/integrationTests/testAssets/SimpleCppProject/simpleCppProject.code-workspace b/Extension/test/integrationTests/testAssets/SimpleCppProject/simpleCppProject.code-workspace new file mode 100644 index 0000000000..be78eb6c3a --- /dev/null +++ b/Extension/test/integrationTests/testAssets/SimpleCppProject/simpleCppProject.code-workspace @@ -0,0 +1,10 @@ +{ + "folders": [ + { + "path": "." + }, + { + "path": "../nonExistent" + } + ] +} \ No newline at end of file