diff --git a/Extension/.eslintignore b/Extension/.eslintignore index 0033637ea4..9efcacb852 100644 --- a/Extension/.eslintignore +++ b/Extension/.eslintignore @@ -2,3 +2,4 @@ test/**/index.ts test/**/runTest.ts tools/prepublish.js +vscode*.d.ts diff --git a/Extension/CHANGELOG.md b/Extension/CHANGELOG.md index 204cc7736e..04e4fd5536 100644 --- a/Extension/CHANGELOG.md +++ b/Extension/CHANGELOG.md @@ -1,5 +1,20 @@ # C/C++ for Visual Studio Code Changelog +## Version 1.17.1: August 9, 2023 +## Bug Fixes +* Fix an issue where the debugger would get stuck while using cl.exe options. [#10231](https://github.com/microsoft/vscode-cpptools/issues/10231) +* Fix C/C++ commands showing in the Command Palette with non-C/C++ files. [#10421](https://github.com/microsoft/vscode-cpptools/issues/10421) +* Fix the 'Select IntelliSense Configuration' command to also update an existing `compilerPath` in c_cpp_properties.json. [#10808](https://github.com/microsoft/vscode-cpptools/issues/10808) +* Fix the parameter format of call hierarchy items. [#11247](https://github.com/microsoft/vscode-cpptools/issues/11247) +* Remove the vcpkg code action from the missing includes code action list. [#11252](https://github.com/microsoft/vscode-cpptools/issues/11252) +* Fix the file path info of call hierarchy items to display the relative path to a workspace folder. [#11254](https://github.com/microsoft/vscode-cpptools/issues/11254) +* Fix colorization for macro expansions in macro arguments. [#11256](https://github.com/microsoft/vscode-cpptools/issues/11256) +* Fix a crash for CUDA projects with '>' in the command line. [#11289](https://github.com/microsoft/vscode-cpptools/issues/11289) +* Increase the default standard for the 'Build and Debug Active File' feature to c++14 on macOS. [#11292](https://github.com/microsoft/vscode-cpptools/issues/11292) +* Fix an issue with the compiler currently configured for use with IntelliSense being listed last in the task creation popup. [PR #11299](https://github.com/microsoft/vscode-cpptools/pull/11299) +* Fix an issue to allow users to utilize the walkthrough without tasks.json. [PR #11300](https://github.com/microsoft/vscode-cpptools/pull/11300) +* Fix an IPCH issue on Linux due to the Position Independent Executable (PIE) option not being set since 1.17.0. + ## Version 1.17.0: July 26, 2023 ### Enhancements * Enable a subset of markdown to render in hover by default and a `C_Cpp.markdownInComments` setting. [#6020](https://github.com/microsoft/vscode-cpptools/issues/6020), [#10461](https://github.com/microsoft/vscode-cpptools/issues/10461) @@ -635,7 +650,7 @@ * Add auto-detection of clang compilers on Windows (and different versions of cl.exe). [#6718](https://github.com/microsoft/vscode-cpptools/issues/6718) * Stop adding .cu files to `files.associations` (switch to using setTextDocumentLanguage). [#7359](https://github.com/microsoft/vscode-cpptools/issues/7359) * Add "Symbol Options" for CppVsdbg to configure symbol settings [PR #7680](https://github.com/microsoft/vscode-cpptools/pull/7680) -* Update CppVsdbg to use newer CppEE and msdia. +* Update CppVsdbg to use newer CppEE and msdia. ### Bug Fixes * Fix switch header/source not checking `files.exclude`. [#4429](https://github.com/microsoft/vscode-cpptools/issues/4429) @@ -681,7 +696,7 @@ * Add `private` or `protected` scope labels to class symbols. [#7120](https://github.com/microsoft/vscode-cpptools/issues/7120) * Fix file:line path for $FILEPOS [#7193](https://github.com/microsoft/vscode-cpptools/issues/7193) * [PR MIEngine#1124](https://github.com/microsoft/MIEngine/pull/1124) -* Add `stopAtConnect` and `hardwareBreakpoints` launch options [PR #7449](https://github.com/microsoft/vscode-cpptools/pull/7449) +* Add `stopAtConnect` and `hardwareBreakpoints` launch options [PR #7449](https://github.com/microsoft/vscode-cpptools/pull/7449) * `stopAtConnect` stops the debugger on connection to a remote target [PR MIEngine#1109](https://github.com/microsoft/MIEngine/pull/1109) * `hardwareBreakpoints` controls usage and number of remote hardware breakpoints [PR MIEngine#1128](https://github.com/microsoft/MIEngine/pull/1128) * Add support for loading Concord extensions to the cppvsdbg debug adapter (see [documentation](https://github.com/microsoft/ConcordExtensibilitySamples/wiki/Support-for-VS-Code-cppvsdbg-Scenarios) for more information) @@ -914,7 +929,7 @@ * YuTengjing (@tjx666) [PR #6344](https://github.com/microsoft/vscode-cpptools/pull/6344) * Enable support for specifying a compiler by only the filename if it's in the environment path. [#6179](https://github.com/microsoft/vscode-cpptools/issues/6179) * Restart the IntelliSense process if its memory usage exceeds the `C_Cpp.intelliSenseMemoryLimit` setting. [#6230](https://github.com/microsoft/vscode-cpptools/issues/6230) -* [cppdbg] Stepping out of a function will display '$ReturnValue'. +* [cppdbg] Stepping out of a function will display '$ReturnValue'. * @Trass3r [PR MIEngine#1036](https://github.com/microsoft/MIEngine/pull/1036) * [cppdbg] Support composite expressions in natvis ArrayItems * @Trass3r [PR MIEngine#1044](https://github.com/microsoft/MIEngine/pull/1044) @@ -1295,7 +1310,7 @@ * Add a code action for resolving missing includes via the `vcpkg` dependency manager. [PR #3791](https://github.com/microsoft/vscode-cpptools/pull/3791) ### Enhancements -* Added support for compile commands: +* Added support for compile commands: * `-iquote`. [#2088](https://github.com/microsoft/vscode-cpptools/issues/2088) * `-imacros`. [#2417](https://github.com/microsoft/vscode-cpptools/issues/2417) * `-idirafter`(`--include-directory-after` & `--include-directory-after=`). [#3713](https://github.com/microsoft/vscode-cpptools/issues/3713) diff --git a/Extension/i18n/chs/package.i18n.json b/Extension/i18n/chs/package.i18n.json index 39f01dbf96..0cf6f4409e 100644 --- a/Extension/i18n/chs/package.i18n.json +++ b/Extension/i18n/chs/package.i18n.json @@ -247,6 +247,10 @@ "c_cpp.configuration.caseSensitiveFileSupport.markdownDescription": "如果设置为 `default`,则假定工作区的文件系统在 Windows 上不区分大小写,在 macOS 或 Linux 上区分大小写。如果设置为 `enabled`,则假定工作区的文件系统在 Windows 上区分大小写。", "c_cpp.configuration.enhancedColorization.markdownDescription": "如果启用,则根据 IntelliSense 对代码进行着色。仅当 `#C_Cpp.intelliSenseEngine#` 设置为 `default` 时,此设置才适用。", "c_cpp.configuration.codeFolding.description": "如果启用,则由语言服务器提供代码折叠范围。", + "c_cpp.configuration.markdownInComments.description": "选择 Markdown 是否在悬停工具提示中可用。默认情况下,仅一部分 markdown 将应用于悬停工具提示中的注释。", + "c_cpp.configuration.markdownInComments.subsetEnabled.description": "启用悬停工具提示中的所有 Markdown 功能,但包含“_”和“*”字符的功能除外。", + "c_cpp.configuration.markdownInComments.enabled.description": "在悬停工具提示中启用所有 Markdown 功能。", + "c_cpp.configuration.markdownInComments.disabled.description": "禁用悬停工具提示中的所有 Markdown 功能。", "c_cpp.configuration.hover.description": "如果禁用,则语言服务器不再提供悬停详细信息。", "c_cpp.configuration.vcpkg.enabled.markdownDescription": "为 [vcpkg 依存关系管理器](https://aka.ms/vcpkg/) 启用集成服务。", "c_cpp.configuration.addNodeAddonIncludePaths.markdownDescription": "当来自 `nan` 和 `node-addon-api` 的包含路径为依赖项时,请将其添加。", diff --git a/Extension/i18n/chs/src/LanguageServer/client.i18n.json b/Extension/i18n/chs/src/LanguageServer/client.i18n.json index 54ce814274..1c13c7d74a 100644 --- a/Extension/i18n/chs/src/LanguageServer/client.i18n.json +++ b/Extension/i18n/chs/src/LanguageServer/client.i18n.json @@ -4,8 +4,6 @@ *--------------------------------------------------------------------------------------------*/ // Do not edit this file. It is machine generated. { - "unable.to.start": "无法启动 C/C++ 语言服务器。IntelliSense 功能将被禁用。错误: {0}", - "check.permissions": "EPERM: 检查“{0}”的权限", "select.compiler": "选择要为 IntelliSense 配置的编译器", "configure.intelliSense.forFolder": "你希望如何为“{0}”文件夹配置 IntelliSense?", "configure.intelliSense.thisFolder": "你希望如何为此文件夹配置 IntelliSense?", @@ -23,6 +21,8 @@ "selectCompiler.string": "选择编译器", "confirmCompiler.string": "是", "selectCompiler.message": "已找到编译器 {0}。是否要使用此编译器配置 IntelliSense?", + "check.permissions": "EPERM: 检查“{0}”的权限", + "unable.to.start": "无法启动 C/C++ 语言服务器。IntelliSense 功能将被禁用。错误: {0}", "server.crashed.restart": "语言服务器崩溃。正在重新启动...", "server.crashed2": "在过去 3 分钟内,语言服务器崩溃了 5 次。它不会重新启动。", "loggingLevel.changed": "{0} 已更改为: {1}", diff --git a/Extension/i18n/chs/src/LanguageServer/extension.i18n.json b/Extension/i18n/chs/src/LanguageServer/extension.i18n.json index fecb32cde6..e46ec78267 100644 --- a/Extension/i18n/chs/src/LanguageServer/extension.i18n.json +++ b/Extension/i18n/chs/src/LanguageServer/extension.i18n.json @@ -11,6 +11,5 @@ "configuration.select.first": "首先打开一个文件夹以选择配置。", "configuration.provider.select.first": "首先打开一个文件夹以选择配置提供程序。", "edit.configurations.open.first": "首先打开一个文件夹以编辑配置", - "code.action.aborted": "无法应用代码分析修复程序,因为文档已更改。", - "add.includepath.open.first": "首先打开一个要添加到 {0} 的文件夹" + "code.action.aborted": "无法应用代码分析修复程序,因为文档已更改。" } \ No newline at end of file diff --git a/Extension/i18n/chs/src/LanguageServer/ui.i18n.json b/Extension/i18n/chs/src/LanguageServer/ui.i18n.json index 5c0dfcd0d6..fe78ff2668 100644 --- a/Extension/i18n/chs/src/LanguageServer/ui.i18n.json +++ b/Extension/i18n/chs/src/LanguageServer/ui.i18n.json @@ -20,8 +20,6 @@ "mode.analysis.prefix": "Code Analysis 模式:", "c.cpp.configureIntelliSenseStatus.text": "配置 IntelliSense", "c.cpp.configureIntelliSenseStatus.cppText": "C/C++ 配置 IntelliSense", - "select.command": "选择命令...", - "select.code.analysis.command": "选择代码分析命令...", "c.cpp.configuration.tooltip": "C/C++ 配置", "c.cpp.references.statusbar": "C/C++ 引用状态", "cpptools.status.intellisense": "C/C++ IntelliSense 状态", @@ -49,6 +47,8 @@ "disable.configuration.provider": "禁用活动配置提供程序(如果适用)。", "select.compile.commands": "选择 compile_commands.json...", "select.workspace": "选择工作区文件夹…", + "select.command": "选择命令...", + "select.code.analysis.command": "选择代码分析命令...", "resume.parsing": "恢复工作区分析", "pause.parsing": "暂停工作区分析", "cancel.analysis": "取消", diff --git a/Extension/i18n/cht/package.i18n.json b/Extension/i18n/cht/package.i18n.json index 30474053e9..1b69c3fe0a 100644 --- a/Extension/i18n/cht/package.i18n.json +++ b/Extension/i18n/cht/package.i18n.json @@ -247,6 +247,10 @@ "c_cpp.configuration.caseSensitiveFileSupport.markdownDescription": "如果設定為 `default`,則工作區的檔案系統會在 Windows 上假設為不區分大小寫,而在 macOS 或 Linux 上區分大小寫。如果設為 `enabled`,則工作區的檔案系統在 Windows 上會假設為區分大小寫。", "c_cpp.configuration.enhancedColorization.markdownDescription": "若啟用,將會依據 IntelliSense 顯示彩色的程式碼。僅當 `#C_Cpp.intelliSenseEngine#` 設為 `default` 時,才適用此設定。", "c_cpp.configuration.codeFolding.description": "若啟用,則由語言伺服器提供程式碼摺疊功能範圍。", + "c_cpp.configuration.markdownInComments.description": "選取是否可在暫留工具提示中使用 Markdown。根據預設,只會將 Markdown 子集套用至暫留工具提示中的註解。", + "c_cpp.configuration.markdownInComments.subsetEnabled.description": "啟用暫留工具提示中的所有 Markdown 功能,但包含 '_' 和 '*' 字元的功能除外。", + "c_cpp.configuration.markdownInComments.enabled.description": "啟用暫留工具提示中的所有 Markdown 功能。", + "c_cpp.configuration.markdownInComments.disabled.description": "停用暫留工具提示中的所有 Markdown 功能。", "c_cpp.configuration.hover.description": "如果停用,語言伺服器將不再提供暫留詳細資料。", "c_cpp.configuration.vcpkg.enabled.markdownDescription": "啟用 [vcpkg 相依性管理員](https://aka.ms/vcpkg/) 的整合服務。", "c_cpp.configuration.addNodeAddonIncludePaths.markdownDescription": "當 `nan` 和 `node-addon-api` 為相依性時,從中新增 include 路徑。", diff --git a/Extension/i18n/cht/src/LanguageServer/client.i18n.json b/Extension/i18n/cht/src/LanguageServer/client.i18n.json index 3a10756b1d..2838697a5a 100644 --- a/Extension/i18n/cht/src/LanguageServer/client.i18n.json +++ b/Extension/i18n/cht/src/LanguageServer/client.i18n.json @@ -4,11 +4,9 @@ *--------------------------------------------------------------------------------------------*/ // Do not edit this file. It is machine generated. { - "unable.to.start": "無法啟動 C/C + + 語言伺服器。將停用 IntelliSense 功能。錯誤: {0}", - "check.permissions": "EPERM: 檢查 '{0}' 的權限", "select.compiler": "選取要設定 IntelliSense 的編譯器", "configure.intelliSense.forFolder": "想如何為 '{0}' 資料夾設定 IntelliSense。", - "configure.intelliSense.thisFolder": "想如何為此資料夾設定 IntelliSense。", + "configure.intelliSense.thisFolder": "要如何為此資料夾設定 IntelliSense?", "found.string": "在 {0} 找到", "use.compiler": "使用 {0}", "configuration.providers": "設定提供者", @@ -23,6 +21,8 @@ "selectCompiler.string": "選取編譯器", "confirmCompiler.string": "是", "selectCompiler.message": "找到編譯器 {0}。您要使用此編譯器來設定 IntelliSense 嗎?", + "check.permissions": "EPERM: 檢查 '{0}' 的權限", + "unable.to.start": "無法啟動 C/C + + 語言伺服器。將停用 IntelliSense 功能。錯誤: {0}", "server.crashed.restart": "語言伺服器當機。正在重新啟動...", "server.crashed2": "語言伺服器在過去 3 分鐘內發生 5 次故障。將不會重新啟動。", "loggingLevel.changed": "{0} 已變更為: {1}", diff --git a/Extension/i18n/cht/src/LanguageServer/extension.i18n.json b/Extension/i18n/cht/src/LanguageServer/extension.i18n.json index 059f0dcb28..e9cf474038 100644 --- a/Extension/i18n/cht/src/LanguageServer/extension.i18n.json +++ b/Extension/i18n/cht/src/LanguageServer/extension.i18n.json @@ -11,6 +11,5 @@ "configuration.select.first": "先開啟資料夾以選取設定。", "configuration.provider.select.first": "先開啟資料夾以選取設定提供者。", "edit.configurations.open.first": "先開啟資料夾以編輯組態", - "code.action.aborted": "無法套用程式碼分析修正,因為文件已變更。", - "add.includepath.open.first": "先開啟資料夾以新增至 {0}" + "code.action.aborted": "無法套用程式碼分析修正,因為文件已變更。" } \ No newline at end of file diff --git a/Extension/i18n/cht/src/LanguageServer/ui.i18n.json b/Extension/i18n/cht/src/LanguageServer/ui.i18n.json index 3b3fab2419..b85098e16d 100644 --- a/Extension/i18n/cht/src/LanguageServer/ui.i18n.json +++ b/Extension/i18n/cht/src/LanguageServer/ui.i18n.json @@ -20,8 +20,6 @@ "mode.analysis.prefix": "Code Analysis 模式: ", "c.cpp.configureIntelliSenseStatus.text": "設定 IntelliSense", "c.cpp.configureIntelliSenseStatus.cppText": "C/C++ 設定 IntelliSense", - "select.command": "選取命令...", - "select.code.analysis.command": "選取程式碼分析命令...", "c.cpp.configuration.tooltip": "C/C++ 組態", "c.cpp.references.statusbar": "C/C++ 參考狀態", "cpptools.status.intellisense": "C/C++ IntelliSense 狀態", @@ -49,6 +47,8 @@ "disable.configuration.provider": "如果適用,停用現有組態提供者。", "select.compile.commands": "選取 compile_commands.json...", "select.workspace": "選取工作區資料夾...", + "select.command": "選取命令...", + "select.code.analysis.command": "選取程式碼分析命令...", "resume.parsing": "繼續工作區剖析", "pause.parsing": "暫停工作區剖析", "cancel.analysis": "取消", diff --git a/Extension/i18n/cht/ui/settings.html.i18n.json b/Extension/i18n/cht/ui/settings.html.i18n.json index afa690ac37..5cea0f81db 100644 --- a/Extension/i18n/cht/ui/settings.html.i18n.json +++ b/Extension/i18n/cht/ui/settings.html.i18n.json @@ -65,4 +65,4 @@ "limit.symbols.checkbox": "若為 {0} (或已選取),標籤剖析器只會剖析 {1} 中原始程式檔直接或間接包含的程式碼檔。若為 {2} (或未選取),標籤剖析器會剖析在 {3} 清單中的指定路徑找到的所有程式碼檔。", "database.filename": "瀏覽: 資料庫檔案名稱", "database.filename.description": "產生符號資料庫路徑。這會指示延伸模組將標籤剖析器的符號資料庫儲存在工作區預設儲存位置以外的某處。如果指定了相對路徑,就會是相對於工作區預設儲存位置 (非工作區資料夾本身) 的路徑。{0} 變數可用於指定相對於工作區資料夾的路徑 (例如 {1})。" -} \ No newline at end of file +} diff --git a/Extension/i18n/csy/package.i18n.json b/Extension/i18n/csy/package.i18n.json index cf89c169aa..41042a2068 100644 --- a/Extension/i18n/csy/package.i18n.json +++ b/Extension/i18n/csy/package.i18n.json @@ -247,6 +247,10 @@ "c_cpp.configuration.caseSensitiveFileSupport.markdownDescription": "Když se nastaví na `default`, předpokládá se, že systém souborů pracovního prostoru ve Windows nerozlišuje velká a malá písmena a v macOS nebo Linuxu rozlišuje malá a velká písmena. Když se tato možnost nastaví na `enabled`, předpokládá se, že systém souborů pracovního prostoru ve Windows rozlišuje velká a malá písmena.", "c_cpp.configuration.enhancedColorization.markdownDescription": "Když se tato možnost povolí, kód se bude obarvovat podle IntelliSense. Toto nastavení se použije jen v případě, že možnost `#C_Cpp.intelliSenseEngine#` je nastavená na `default`.", "c_cpp.configuration.codeFolding.description": "Když se tato možnost povolí, rozsahy sbalování kódu bude poskytovat jazykový server.", + "c_cpp.configuration.markdownInComments.description": "Vyberte, jestli bude markdown k dispozici v popisu při najetí myší. Ve výchozím nastavení se u komentářů v popisu přechodu použije jenom podmnožina markdownu.", + "c_cpp.configuration.markdownInComments.subsetEnabled.description": "Povolte všechny funkce Markdownu v popisku s výjimkou těch, které obsahují znaky „_“ a „*“.", + "c_cpp.configuration.markdownInComments.enabled.description": "Umožňuje povolit všechny funkce Markdownu v popisu při najetí myší.", + "c_cpp.configuration.markdownInComments.disabled.description": "Umožňuje zakázat všechny funkce Markdownu v popisu při najetí myší.", "c_cpp.configuration.hover.description": "Pokud je tato možnost zakázaná, podrobnosti o najetí myší už nebude poskytovat jazykový server.", "c_cpp.configuration.vcpkg.enabled.markdownDescription": "Povolte integrační služby pro [správce závislostí vcpkg](https://aka.ms/vcpkg/).", "c_cpp.configuration.addNodeAddonIncludePaths.markdownDescription": "Pokud existují závislosti, přidejte cesty pro zahrnuté soubory z `nan` a `node-addon-api`.", @@ -430,4 +434,4 @@ "c_cpp.walkthrough.customize.debugging.linux.description": "Konfiguraci ladění (např. za účelem předání argumentů do vašeho programu za běhu) můžete přizpůsobit výběrem možnosti Přidat konfiguraci ladění napravo od tlačítka Přehrát. Vlastní konfigurace ladění se uloží do souboru launch.json vašeho projektu. \n[Další informace](https://code.visualstudio.com/docs/cpp/config-msvc#_debug-helloworldcpp)", "c_cpp.walkthrough.customize.debugging.windows.description": "Konfiguraci ladění (např. za účelem předání argumentů do vašeho programu za běhu) můžete přizpůsobit výběrem možnosti Přidat konfiguraci ladění napravo od tlačítka Přehrát. Vlastní konfigurace ladění se uloží do souboru launch.json vašeho projektu. \n[Další informace](https://code.visualstudio.com/docs/cpp/config-clang-mac#_debug-helloworldcpp)", "c_cpp.walkthrough.customize.debugging.altText": "Obrázek znázorňující přidání konfigurace ladění v rozevíracím seznamu" -} \ No newline at end of file +} diff --git a/Extension/i18n/csy/src/LanguageServer/client.i18n.json b/Extension/i18n/csy/src/LanguageServer/client.i18n.json index e1dbde6458..03034cf94f 100644 --- a/Extension/i18n/csy/src/LanguageServer/client.i18n.json +++ b/Extension/i18n/csy/src/LanguageServer/client.i18n.json @@ -4,11 +4,9 @@ *--------------------------------------------------------------------------------------------*/ // Do not edit this file. It is machine generated. { - "unable.to.start": "Nepovedlo se spustit jazykový server C/C++. Funkce IntelliSense se zakážou. Chyba: {0}", - "check.permissions": "EPERM: Zkontrolujte oprávnění pro {0}.", "select.compiler": "Vyberte kompilátor, který se má nakonfigurovat pro IntelliSense.", "configure.intelliSense.forFolder": "Jak chcete nakonfigurovat IntelliSense pro složku {0}?", - "configure.intelliSense.thisFolder": "Jak chcete nakonfigurovat IntelliSense pro tuto složku?", + "configure.intelliSense.thisFolder": "Jak chcete pro tuto složku nakonfigurovat IntelliSense?", "found.string": "Nalezeno v: {0}", "use.compiler": "Použít {0}", "configuration.providers": "poskytovatelé konfigurace", @@ -23,6 +21,8 @@ "selectCompiler.string": "Vybrat kompilátor", "confirmCompiler.string": "Ano", "selectCompiler.message": "Byl nalezen {0} kompilátoru. Chcete nakonfigurovat IntelliSense s tímto kompilátorem?", + "check.permissions": "EPERM: Zkontrolujte oprávnění pro {0}.", + "unable.to.start": "Nepovedlo se spustit jazykový server C/C++. Funkce IntelliSense se zakážou. Chyba: {0}", "server.crashed.restart": "Došlo k chybovému ukončení jazykového serveru. Restartuje se…", "server.crashed2": "Jazykový server se 5krát za poslední 3 minuty chybově ukončil. Nebude se restartovat.", "loggingLevel.changed": "{0} se změnila na: {1}", diff --git a/Extension/i18n/csy/src/LanguageServer/extension.i18n.json b/Extension/i18n/csy/src/LanguageServer/extension.i18n.json index e12b1c19c2..e9150846dc 100644 --- a/Extension/i18n/csy/src/LanguageServer/extension.i18n.json +++ b/Extension/i18n/csy/src/LanguageServer/extension.i18n.json @@ -11,6 +11,5 @@ "configuration.select.first": "Pokud chcete vybrat konfiguraci, otevřete nejdříve složku.", "configuration.provider.select.first": "Pokud chcete vybrat poskytovatele konfigurace, otevřete nejdříve složku.", "edit.configurations.open.first": "Pokud chcete upravit konfigurace, otevřete nejdříve složku.", - "code.action.aborted": "Opravu analýzy kódu nelze použít, protože dokument byl změněn.", - "add.includepath.open.first": "Nejdříve otevřete složku, která se má přidat do {0}." + "code.action.aborted": "Opravu analýzy kódu nelze použít, protože dokument byl změněn." } \ No newline at end of file diff --git a/Extension/i18n/csy/src/LanguageServer/ui.i18n.json b/Extension/i18n/csy/src/LanguageServer/ui.i18n.json index 25b7cd41c9..d3e39397f9 100644 --- a/Extension/i18n/csy/src/LanguageServer/ui.i18n.json +++ b/Extension/i18n/csy/src/LanguageServer/ui.i18n.json @@ -20,8 +20,6 @@ "mode.analysis.prefix": "Režim Code Analysis: ", "c.cpp.configureIntelliSenseStatus.text": "Konfigurovat IntelliSense", "c.cpp.configureIntelliSenseStatus.cppText": "Konfigurovat IntelliSense v C/C++", - "select.command": "Vyberte příkaz…", - "select.code.analysis.command": "Vyberte příkaz pro analýzu kódu…", "c.cpp.configuration.tooltip": "Konfigurace C/C++", "c.cpp.references.statusbar": "Stav odkazů jazyka C/C++", "cpptools.status.intellisense": "C/C++ IntelliSense Status", @@ -49,6 +47,8 @@ "disable.configuration.provider": "Zakažte aktivního poskytovatele konfigurací, pokud je to možné.", "select.compile.commands": "Vyberte soubor compile_commands.json...", "select.workspace": "Vyberte složku pracovního prostoru...", + "select.command": "Vyberte příkaz…", + "select.code.analysis.command": "Vyberte příkaz pro analýzu kódu…", "resume.parsing": "Pokračovat v analýze pracovního prostoru", "pause.parsing": "Pozastavit analýzu pracovního prostoru", "cancel.analysis": "Zrušit", diff --git a/Extension/i18n/deu/package.i18n.json b/Extension/i18n/deu/package.i18n.json index abbf6fff36..90492b7ebf 100644 --- a/Extension/i18n/deu/package.i18n.json +++ b/Extension/i18n/deu/package.i18n.json @@ -247,6 +247,10 @@ "c_cpp.configuration.caseSensitiveFileSupport.markdownDescription": "Wenn diese Einstellung auf `default` festgelegt ist, wird davon ausgegangen, dass für das Dateisystem des Arbeitsbereichs unter Windows die Groß-/Kleinschreibung nicht berücksichtigt und unter macOS oder Linux berücksichtigt wird. Wenn diese Einstellung auf `enabled` festgelegt ist, wird davon ausgegangen, dass für das Dateisystem des Arbeitsbereichs unter Windows die Groß-/Kleinschreibung beachtet wird.", "c_cpp.configuration.enhancedColorization.markdownDescription": "Wenn diese Option aktiviert ist, wird der Code basierend auf IntelliSense eingefärbt. Diese Einstellung gilt nur, wenn `#C_Cpp.intelliSenseEngine#` auf `default` festgelegt ist.", "c_cpp.configuration.codeFolding.description": "Wenn diese Option aktiviert ist, werden Codefaltbereiche vom Sprachserver bereitgestellt.", + "c_cpp.configuration.markdownInComments.description": "Wählen Sie aus, ob Markdown in der QuickInfo zum Daraufzeigen verfügbar sein soll. Standardmäßig wird nur eine Teilmenge des Markdowns auf Kommentare in der QuickInfo zum Daraufzeigen angewendet.", + "c_cpp.configuration.markdownInComments.subsetEnabled.description": "Aktivieren Sie alle Markdownfeatures in der QuickInfo, mit Ausnahme derjenigen, die die Zeichen \"_\" und \"*\" enthalten.", + "c_cpp.configuration.markdownInComments.enabled.description": "Aktivieren Sie alle Markdownfeatures in der QuickInfo zum Daraufzeigen.", + "c_cpp.configuration.markdownInComments.disabled.description": "Deaktivieren Sie alle Markdownfeatures in der QuickInfo zum Daraufzeigen.", "c_cpp.configuration.hover.description": "Wenn diese Option deaktiviert ist, werden die Hoverdetails nicht mehr vom Sprachserver bereitgestellt.", "c_cpp.configuration.vcpkg.enabled.markdownDescription": "Hiermit aktivieren Sie Integrationsdienste für den [vcpkg-Abhängigkeitsmanager](https://aka.ms/vcpkg/).", "c_cpp.configuration.addNodeAddonIncludePaths.markdownDescription": "Fügen Sie Includepfade aus `nan` und `node-addon-api` hinzu, wenn es sich um Abhängigkeiten handelt.", @@ -430,4 +434,4 @@ "c_cpp.walkthrough.customize.debugging.linux.description": "Sie können Ihre Debugkonfiguration anpassen (z. B. um Argumente zur Laufzeit an Ihr Programm zu übergeben), indem Sie rechts neben der Wiedergabeschaltfläche \"Debugkonfiguration hinzufügen\" auswählen. Die benutzerdefinierte Debugkonfiguration wird in der Datei \"launch.json\" Ihres Projekts gespeichert. \n[Weitere Informationen](https://code.visualstudio.com/docs/cpp/config-msvc#_debug-helloworldcpp)", "c_cpp.walkthrough.customize.debugging.windows.description": "Sie können Ihre Debugkonfiguration anpassen (z. B. um Argumente zur Laufzeit an Ihr Programm zu übergeben), indem Sie rechts neben der Wiedergabeschaltfläche \"Debugkonfiguration hinzufügen\" auswählen. Die benutzerdefinierte Debugkonfiguration wird in der Datei \"launch.json\" Ihres Projekts gespeichert. \n[Weitere Informationen](https://code.visualstudio.com/docs/cpp/config-clang-mac#_debug-helloworldcpp)", "c_cpp.walkthrough.customize.debugging.altText": "Bild, das \"Debugkonfiguration hinzufügen\" in der Dropdownliste anzeigt" -} \ No newline at end of file +} diff --git a/Extension/i18n/deu/src/LanguageServer/client.i18n.json b/Extension/i18n/deu/src/LanguageServer/client.i18n.json index 3d35d367f1..52064d258b 100644 --- a/Extension/i18n/deu/src/LanguageServer/client.i18n.json +++ b/Extension/i18n/deu/src/LanguageServer/client.i18n.json @@ -4,8 +4,6 @@ *--------------------------------------------------------------------------------------------*/ // Do not edit this file. It is machine generated. { - "unable.to.start": "Der C/C++-Sprachserver kann nicht gestartet werden. IntelliSense-Features werden deaktiviert. Fehler: {0}", - "check.permissions": "EPERM: Berechtigungen für \"{0}\" überprüfen", "select.compiler": "Wählen Sie einen Compiler aus, der für IntelliSense konfiguriert werden soll.", "configure.intelliSense.forFolder": "Wie möchten Sie IntelliSense für den Ordner \"{0}\" konfigurieren?", "configure.intelliSense.thisFolder": "Wie möchten Sie IntelliSense für diesen Ordner konfigurieren?", @@ -23,6 +21,8 @@ "selectCompiler.string": "Compiler auswählen", "confirmCompiler.string": "Ja", "selectCompiler.message": "Der Compiler {0} wurde gefunden. Möchten Sie IntelliSense mit diesem Compiler konfigurieren?", + "check.permissions": "EPERM: Berechtigungen für \"{0}\" überprüfen", + "unable.to.start": "Der C/C++-Sprachserver kann nicht gestartet werden. IntelliSense-Features werden deaktiviert. Fehler: {0}", "server.crashed.restart": "Der Sprach-Server ist abgestürzt. Neustart wird ausgeführt ...", "server.crashed2": "Der Sprachserver ist in den letzten 3 Minuten 5-mal abgestürzt. Er wird nicht neu gestartet.", "loggingLevel.changed": "{0} wurde geändert in {1}", diff --git a/Extension/i18n/deu/src/LanguageServer/extension.i18n.json b/Extension/i18n/deu/src/LanguageServer/extension.i18n.json index 33359264de..502e121cb8 100644 --- a/Extension/i18n/deu/src/LanguageServer/extension.i18n.json +++ b/Extension/i18n/deu/src/LanguageServer/extension.i18n.json @@ -11,6 +11,5 @@ "configuration.select.first": "Öffnen Sie zum Auswählen einer Konfiguration zuerst einen Ordner.", "configuration.provider.select.first": "Öffnen Sie zum Auswählen eines Konfigurationsanbieters zuerst einen Ordner.", "edit.configurations.open.first": "Zum Bearbeiten von Konfigurationen zuerst einen Ordner öffnen", - "code.action.aborted": "Der Codeanalysepatch konnte nicht angewendet werden, da sich das Dokument geändert hat.", - "add.includepath.open.first": "Zuerst einen Ordner öffnen, der \"{0}\" hinzugefügt werden soll" + "code.action.aborted": "Der Codeanalysepatch konnte nicht angewendet werden, da sich das Dokument geändert hat." } \ No newline at end of file diff --git a/Extension/i18n/deu/src/LanguageServer/ui.i18n.json b/Extension/i18n/deu/src/LanguageServer/ui.i18n.json index d269c38a4d..83f770b394 100644 --- a/Extension/i18n/deu/src/LanguageServer/ui.i18n.json +++ b/Extension/i18n/deu/src/LanguageServer/ui.i18n.json @@ -20,8 +20,6 @@ "mode.analysis.prefix": "Code Analysis-Modus: ", "c.cpp.configureIntelliSenseStatus.text": "IntelliSense konfigurieren", "c.cpp.configureIntelliSenseStatus.cppText": "IntelliSense in C/C++ konfigurieren", - "select.command": "Befehl auswählen...", - "select.code.analysis.command": "Codeanalysebefehl auswählen...", "c.cpp.configuration.tooltip": "C/C++-Konfiguration", "c.cpp.references.statusbar": "C/C++-Verweisstatus", "cpptools.status.intellisense": "Status von C/C++-IntelliSense", @@ -49,6 +47,8 @@ "disable.configuration.provider": "Deaktivieren Sie den aktiven Konfigurationsanbieter, falls zutreffend.", "select.compile.commands": "compile_commands.json-Datei auswählen...", "select.workspace": "Arbeitsbereichsordner auswählen...", + "select.command": "Befehl auswählen...", + "select.code.analysis.command": "Codeanalysebefehl auswählen...", "resume.parsing": "Arbeitsbereichsanalyse fortsetzen", "pause.parsing": "Arbeitsbereichsanalyse anhalten", "cancel.analysis": "Abbrechen", diff --git a/Extension/i18n/esn/Reinstalling the Extension.md.i18n.json b/Extension/i18n/esn/Reinstalling the Extension.md.i18n.json index 614409eab8..0cebc625c5 100644 --- a/Extension/i18n/esn/Reinstalling the Extension.md.i18n.json +++ b/Extension/i18n/esn/Reinstalling the Extension.md.i18n.json @@ -18,4 +18,4 @@ "reinstall.extension.text7": "A continuación, reinstale mediante la interfaz de usuario de Marketplace en VS Code.", "reinstall.extension.text8": "Si VS Code no puede implementar la versión correcta de la extensión, el VSIX correcto para el sistema se puede {0} e instalar mediante la opción 'Instalar desde VSIX...', en el menú '...' en la interfaz de usuario de Marketplace en VS Code.", "download.vsix.link.title": "descargado del sitio web del Marketplace VS Code" -} \ No newline at end of file +} diff --git a/Extension/i18n/esn/package.i18n.json b/Extension/i18n/esn/package.i18n.json index c33c20fd2c..b4ff0bb374 100644 --- a/Extension/i18n/esn/package.i18n.json +++ b/Extension/i18n/esn/package.i18n.json @@ -247,6 +247,10 @@ "c_cpp.configuration.caseSensitiveFileSupport.markdownDescription": "Si se establece en `default`, el sistema de archivos del área de trabajo no distingue mayúsculas de minúsculas en Windows y distingue mayúsculas de minúsculas en macOS o Linux. Si se establece en `enabled`, el sistema de archivos del área de trabajo distingue mayúsculas de minúsculas en Windows.", "c_cpp.configuration.enhancedColorization.markdownDescription": "Si se habilita esta opción, el código se colorea de acuerdo con IntelliSense. Esta configuración solo se aplica si `#C_Cpp.intelliSenseEngine#` se establece en `default`.", "c_cpp.configuration.codeFolding.description": "Si está habilitada, el servidor de lenguaje proporciona intervalos de plegado de código.", + "c_cpp.configuration.markdownInComments.description": "Seleccione si Markdown estará disponible en la información sobre herramientas que aparece al mantener el puntero. De manera predeterminada, solo se aplicará un subconjunto de Markdown a los comentarios de la información sobre herramientas que aparece al mantener el puntero.", + "c_cpp.configuration.markdownInComments.subsetEnabled.description": "Habilita todas las características de Markdown en la información sobre herramientas que aparece al mantener el puntero, excepto las que incluyen los caracteres \"_\" y \"*\".", + "c_cpp.configuration.markdownInComments.enabled.description": "Habilite todas las características de Markdown en la información sobre herramientas que aparece al mantener el puntero.", + "c_cpp.configuration.markdownInComments.disabled.description": "Deshabilite todas las características de Markdown en la información sobre herramientas que aparece al mantener el puntero.", "c_cpp.configuration.hover.description": "Si se deshabilita, el servidor de lenguaje ya no proporciona detalles al mantener el puntero.", "c_cpp.configuration.vcpkg.enabled.markdownDescription": "Habilita los servicios de integración para el [administrador de dependencias de vcpkgs](https://aka.ms/vcpkg/).", "c_cpp.configuration.addNodeAddonIncludePaths.markdownDescription": "Agrega rutas de acceso de inclusión de `nan` y `node-addon-api` cuando sean dependencias.", diff --git a/Extension/i18n/esn/src/LanguageServer/client.i18n.json b/Extension/i18n/esn/src/LanguageServer/client.i18n.json index e65979476e..6c47f880b7 100644 --- a/Extension/i18n/esn/src/LanguageServer/client.i18n.json +++ b/Extension/i18n/esn/src/LanguageServer/client.i18n.json @@ -4,11 +4,9 @@ *--------------------------------------------------------------------------------------------*/ // Do not edit this file. It is machine generated. { - "unable.to.start": "No se puede iniciar el servidor de lenguaje de C/C++. Las características de IntelliSense se deshabilitarán. Error: {0}", - "check.permissions": "EPERM: Compruebe los permisos de \"{0}\"", "select.compiler": "Selecciona un compilador para configurarlo para IntelliSense", "configure.intelliSense.forFolder": "¿Cómo deseas configurar IntelliSense para la carpeta \"{0}\"?", - "configure.intelliSense.thisFolder": "¿Cómo deseas configurar IntelliSense para esta carpeta?", + "configure.intelliSense.thisFolder": "¿Cómo desea configurar IntelliSense para esta carpeta?", "found.string": "Encontrado en {0}", "use.compiler": "Uso {0}", "configuration.providers": "proveedores de configuración", @@ -23,6 +21,8 @@ "selectCompiler.string": "Selecciona un compilador", "confirmCompiler.string": "Sí", "selectCompiler.message": "Se encontró el compilador {0}. ¿Desea configurar IntelliSense con este compilador?", + "check.permissions": "EPERM: Compruebe los permisos de \"{0}\"", + "unable.to.start": "No se puede iniciar el servidor de lenguaje de C/C++. Las características de IntelliSense se deshabilitarán. Error: {0}", "server.crashed.restart": "El servidor de lenguaje se bloqueó. Se está reiniciando...", "server.crashed2": "El servidor de lenguaje se ha bloqueado cinco veces en los tres últimos minutos. No se reiniciará.", "loggingLevel.changed": "{0} se cambió a: {1}", diff --git a/Extension/i18n/esn/src/LanguageServer/extension.i18n.json b/Extension/i18n/esn/src/LanguageServer/extension.i18n.json index a0dcf7d15f..df1007dd4b 100644 --- a/Extension/i18n/esn/src/LanguageServer/extension.i18n.json +++ b/Extension/i18n/esn/src/LanguageServer/extension.i18n.json @@ -11,6 +11,5 @@ "configuration.select.first": "Abre primero una carpeta para seleccionar una configuración.", "configuration.provider.select.first": "Abre primero una carpeta para seleccionar un proveedor de configuración.", "edit.configurations.open.first": "Abra una carpeta primero para editar las configuraciones", - "code.action.aborted": "No se pudo aplicar la corrección de análisis de código porque el documento ha cambiado.", - "add.includepath.open.first": "Abra primero una carpeta para agregarla a {0}" + "code.action.aborted": "No se pudo aplicar la corrección de análisis de código porque el documento ha cambiado." } \ No newline at end of file diff --git a/Extension/i18n/esn/src/LanguageServer/ui.i18n.json b/Extension/i18n/esn/src/LanguageServer/ui.i18n.json index c6f40a88e6..9fbcb3c3b2 100644 --- a/Extension/i18n/esn/src/LanguageServer/ui.i18n.json +++ b/Extension/i18n/esn/src/LanguageServer/ui.i18n.json @@ -20,8 +20,6 @@ "mode.analysis.prefix": "Modo de Code Analysis: ", "c.cpp.configureIntelliSenseStatus.text": "Configurar IntelliSense", "c.cpp.configureIntelliSenseStatus.cppText": "Configuración de IntelliSense en C/C++", - "select.command": "Seleccione un comando...", - "select.code.analysis.command": "Seleccione un comando de análisis de código...", "c.cpp.configuration.tooltip": "Configuración de C/C++", "c.cpp.references.statusbar": "Estado de referencias de C/C++", "cpptools.status.intellisense": "Estado de IntelliSense de C/C++", @@ -49,6 +47,8 @@ "disable.configuration.provider": "Deshabilite el proveedor de configuración activo, si procede.", "select.compile.commands": "Seleccione un archivo compile_commands.json...", "select.workspace": "Seleccione una carpeta del área de trabajo...", + "select.command": "Seleccione un comando...", + "select.code.analysis.command": "Seleccione un comando de análisis de código...", "resume.parsing": "Reanudar el análisis de área de trabajo", "pause.parsing": "Pausar el análisis de área de trabajo", "cancel.analysis": "Cancelar", diff --git a/Extension/i18n/fra/Reinstalling the Extension.md.i18n.json b/Extension/i18n/fra/Reinstalling the Extension.md.i18n.json index cea5a6a246..e44fd740df 100644 --- a/Extension/i18n/fra/Reinstalling the Extension.md.i18n.json +++ b/Extension/i18n/fra/Reinstalling the Extension.md.i18n.json @@ -18,4 +18,4 @@ "reinstall.extension.text7": "Réinstallez ensuite via l’interface utilisateur de la Place de marché dans VS Code.", "reinstall.extension.text8": "Si la version correcte de l’extension ne peut pas être déployée par VS Code, le VSIX approprié pour votre système peut être {0} et installé à l’aide de l’option 'Installer à partir de VSIX...' sous le menu '...' de l’interface utilisateur de la Place de marché dans VS Code.", "download.vsix.link.title": "téléchargé à partir du site web de la place de marché VS Code" -} \ No newline at end of file +} diff --git a/Extension/i18n/fra/package.i18n.json b/Extension/i18n/fra/package.i18n.json index ea54744d6c..0343b305b6 100644 --- a/Extension/i18n/fra/package.i18n.json +++ b/Extension/i18n/fra/package.i18n.json @@ -247,6 +247,10 @@ "c_cpp.configuration.caseSensitiveFileSupport.markdownDescription": "Si la valeur est définie sur `default`, le système de fichiers de l’espace de travail est supposé ne pas respecter la casse sur Windows et respecter la casse sur macOS ou Linux. Si la valeur est `enabled`, le système de fichiers de l’espace de travail est supposé respecter la casse sur Windows.", "c_cpp.configuration.enhancedColorization.markdownDescription": "Si cette option est activée, le code est colorisé en fonction d'IntelliSense. Ce paramètre s'applique uniquement si `#C_Cpp.intelliSenseEngine#` est défini sur `default`.", "c_cpp.configuration.codeFolding.description": "Si cette fonctionnalité est activée, les plages de pliage de code sont fournies par le serveur de langage.", + "c_cpp.configuration.markdownInComments.description": "Indiquez si Markdown sera disponible dans l’info-bulle de pointage. Par défaut, seul un sous-ensemble de Markdown est appliqué aux commentaires dans l’info-bulle de pointage.", + "c_cpp.configuration.markdownInComments.subsetEnabled.description": "Activez toutes les fonctionnalités Markdown dans l’info-bulle de pointage, à l’exception de celles qui incluent les caractères « _ » et « * ».", + "c_cpp.configuration.markdownInComments.enabled.description": "Activez toutes les fonctionnalités Markdown dans l’info-bulle de pointage.", + "c_cpp.configuration.markdownInComments.disabled.description": "Désactivez toutes les fonctionnalités Markdown dans l’info-bulle de pointage.", "c_cpp.configuration.hover.description": "Si cette option est désactivée, les détails du pointage ne sont plus fournis par le serveur de langage.", "c_cpp.configuration.vcpkg.enabled.markdownDescription": "Activez les services d'intégration pour le [gestionnaire de dépendances vcpkg](https://aka.ms/vcpkg/).", "c_cpp.configuration.addNodeAddonIncludePaths.markdownDescription": "Ajouter les chemins d'inclusion de `nan` et `node-addon-api` quand ils sont des dépendances.", @@ -430,4 +434,4 @@ "c_cpp.walkthrough.customize.debugging.linux.description": "Vous pouvez personnaliser votre configuration de débogage (par exemple, pour passer des arguments à votre programme au moment de l’exécution) en sélectionnant « Ajouter une configuration de débogage » à droite du bouton de lecture. La configuration de débogage personnalisée est enregistrée dans le fichier launch.json de votre projet. \n[En savoir plus](https://code.visualstudio.com/docs/cpp/config-msvc#_debug-helloworldcpp)", "c_cpp.walkthrough.customize.debugging.windows.description": "Vous pouvez personnaliser votre configuration de débogage (par exemple, pour passer des arguments à votre programme au moment de l’exécution) en sélectionnant « Ajouter une configuration de débogage » à droite du bouton de lecture. La configuration de débogage personnalisée est enregistrée dans le fichier launch.json de votre projet. \n[En savoir plus](https://code.visualstudio.com/docs/cpp/config-clang-mac#_debug-helloworldcpp)", "c_cpp.walkthrough.customize.debugging.altText": "Image qui montre Ajouter une configuration de débogage dans la liste déroulante" -} \ No newline at end of file +} diff --git a/Extension/i18n/fra/src/LanguageServer/client.i18n.json b/Extension/i18n/fra/src/LanguageServer/client.i18n.json index fe9a10f1bd..ef35cba80a 100644 --- a/Extension/i18n/fra/src/LanguageServer/client.i18n.json +++ b/Extension/i18n/fra/src/LanguageServer/client.i18n.json @@ -4,11 +4,9 @@ *--------------------------------------------------------------------------------------------*/ // Do not edit this file. It is machine generated. { - "unable.to.start": "Impossible de démarrer le serveur de langage C/C++. Les fonctionnalités IntelliSense sont désactivées. Erreur : {0}", - "check.permissions": "EPERM : Vérifier les autorisations de '{0}'", "select.compiler": "Sélectionner un compilateur à configurer pour IntelliSense", "configure.intelliSense.forFolder": "Comment voulez-vous configurer IntelliSense pour le dossier «{0}» ?", - "configure.intelliSense.thisFolder": "Comment voulez-vous configurer IntelliSense pour ce dossier ?", + "configure.intelliSense.thisFolder": "Comment voulez-vous configurer IntelliSense pour ce dossier ?", "found.string": "Trouvé sur {0}", "use.compiler": "Utiliser {0}", "configuration.providers": "fournisseurs de configuration", @@ -23,6 +21,8 @@ "selectCompiler.string": "Sélectionner un compilateur", "confirmCompiler.string": "Oui", "selectCompiler.message": "Le compilateur {0} a été trouvé. Voulez-vous configurer IntelliSense avec ce compilateur ?", + "check.permissions": "EPERM : Vérifier les autorisations de '{0}'", + "unable.to.start": "Impossible de démarrer le serveur de langage C/C++. Les fonctionnalités IntelliSense sont désactivées. Erreur : {0}", "server.crashed.restart": "Le serveur de langue s’est arrêté. Redémarrage...", "server.crashed2": "Le serveur de langage s'est bloqué 5 fois au cours des 3 dernières minutes. Il n'est pas redémarré.", "loggingLevel.changed": "{0} a été changé en : {1}", diff --git a/Extension/i18n/fra/src/LanguageServer/extension.i18n.json b/Extension/i18n/fra/src/LanguageServer/extension.i18n.json index 0d822b760c..2fadc91e69 100644 --- a/Extension/i18n/fra/src/LanguageServer/extension.i18n.json +++ b/Extension/i18n/fra/src/LanguageServer/extension.i18n.json @@ -11,6 +11,5 @@ "configuration.select.first": "Commencer par ouvrir un dossier pour sélectionner une configuration", "configuration.provider.select.first": "Commencer par ouvrir un dossier pour sélectionner un fournisseur de configuration", "edit.configurations.open.first": "Commencer par ouvrir un dossier pour modifier des configurations", - "code.action.aborted": "Impossible d’appliquer le correctif d’analyse du code, car le document a changé.", - "add.includepath.open.first": "Commencer par ouvrir un dossier à ajouter à {0}" + "code.action.aborted": "Impossible d’appliquer le correctif d’analyse du code, car le document a changé." } \ No newline at end of file diff --git a/Extension/i18n/fra/src/LanguageServer/ui.i18n.json b/Extension/i18n/fra/src/LanguageServer/ui.i18n.json index b90b9a949f..dfefc1bcea 100644 --- a/Extension/i18n/fra/src/LanguageServer/ui.i18n.json +++ b/Extension/i18n/fra/src/LanguageServer/ui.i18n.json @@ -20,8 +20,6 @@ "mode.analysis.prefix": "Mode Code Analysis : ", "c.cpp.configureIntelliSenseStatus.text": "Configurer IntelliSense", "c.cpp.configureIntelliSenseStatus.cppText": "Configuration d’IntelliSense en C/C++", - "select.command": "Sélectionner une commande...", - "select.code.analysis.command": "Sélectionner une commande d’analyse du code...", "c.cpp.configuration.tooltip": "Configuration C/C++", "c.cpp.references.statusbar": "État des références C/C++", "cpptools.status.intellisense": "État IntelliSense C/C++", @@ -49,6 +47,8 @@ "disable.configuration.provider": "Désactivez le fournisseur de configuration actif, le cas échéant.", "select.compile.commands": "Sélectionner un fichier compile_commands.json...", "select.workspace": "Sélectionner un dossier d'espace de travail...", + "select.command": "Sélectionner une commande...", + "select.code.analysis.command": "Sélectionner une commande d’analyse du code...", "resume.parsing": "Reprendre l’analyse de l’espace de travail", "pause.parsing": "Suspendre l’analyse de l’espace de travail", "cancel.analysis": "Annuler", diff --git a/Extension/i18n/ita/package.i18n.json b/Extension/i18n/ita/package.i18n.json index f72a25e56b..d4e4bb8651 100644 --- a/Extension/i18n/ita/package.i18n.json +++ b/Extension/i18n/ita/package.i18n.json @@ -247,6 +247,10 @@ "c_cpp.configuration.caseSensitiveFileSupport.markdownDescription": "Se impostato su `default`, si presuppone che il file system dell'area di lavoro non faccia distinzione tra maiuscole e minuscole in Windows ma faccia distinzione tra maiuscole e minuscole in macOS o Linux. Se impostato su `enabled`, si presuppone che il file system dell'area di lavoro faccia distinzione tra maiuscole e minuscole in Windows.", "c_cpp.configuration.enhancedColorization.markdownDescription": "Se questa opzione è abilitata, il codice viene colorato in base a IntelliSense. Questa impostazione si applica solo se `#C_Cpp.intelliSenseEngine#` è impostato su `default`.", "c_cpp.configuration.codeFolding.description": "Se è abilitata, gli intervalli di riduzione del codice vengono fornite dal server di linguaggio.", + "c_cpp.configuration.markdownInComments.description": "Seleziona se markdown sarà disponibile nella descrizione comando al passaggio del mouse. Per impostazione predefinita, solo un subset di markdown verrà applicato ai commenti nella descrizione comando al passaggio del mouse.", + "c_cpp.configuration.markdownInComments.subsetEnabled.description": "Abilita tutte le funzionalità markdown nella descrizione comando al passaggio del mouse, ad eccezione di quelle che includono i caratteri '_' e '*'.", + "c_cpp.configuration.markdownInComments.enabled.description": "Abilita tutte le funzionalità markdown nella descrizione comando al passaggio del mouse.", + "c_cpp.configuration.markdownInComments.disabled.description": "Disabilita tutte le funzionalità markdown nella descrizione comando al passaggio del mouse.", "c_cpp.configuration.hover.description": "Se questa opzione è disabilitata, i dettagli al passaggio del mouse non vengono più forniti dal server di linguaggio.", "c_cpp.configuration.vcpkg.enabled.markdownDescription": "Abilita i servizi di integrazione per l'[utilità di gestione dipendenze di vcpkg](https://aka.ms/vcpkg/).", "c_cpp.configuration.addNodeAddonIncludePaths.markdownDescription": "Aggiungere percorsi di inclusione da `nan` e `node-addon-api` quando sono dipendenze.", @@ -430,4 +434,4 @@ "c_cpp.walkthrough.customize.debugging.linux.description": "È possibile personalizzare la configurazione di debug, ad esempio per passare argomenti al programma in fase di esecuzione, selezionando \"Aggiungi configurazione di debug\" a destra del pulsante Riproduci. La configurazione di debug personalizzata viene salvata nel file launch.json del progetto. \n[Altre informazioni](https://code.visualstudio.com/docs/cpp/config-msvc#_debug-helloworldcpp)", "c_cpp.walkthrough.customize.debugging.windows.description": "È possibile personalizzare la configurazione di debug, ad esempio per passare argomenti al programma in fase di esecuzione, selezionando \"Aggiungi configurazione di debug\" a destra del pulsante Riproduci. La configurazione di debug personalizzata viene salvata nel file launch.json del progetto. \n[Altre informazioni](https://code.visualstudio.com/docs/cpp/config-clang-mac#_debug-helloworldcpp)", "c_cpp.walkthrough.customize.debugging.altText": "Immagine che mostra l'aggiunta della configurazione di debug nell'elenco a discesa" -} \ No newline at end of file +} diff --git a/Extension/i18n/ita/src/LanguageServer/client.i18n.json b/Extension/i18n/ita/src/LanguageServer/client.i18n.json index 57f7ce2321..68322d44ef 100644 --- a/Extension/i18n/ita/src/LanguageServer/client.i18n.json +++ b/Extension/i18n/ita/src/LanguageServer/client.i18n.json @@ -4,11 +4,9 @@ *--------------------------------------------------------------------------------------------*/ // Do not edit this file. It is machine generated. { - "unable.to.start": "Non è possibile avviare il server di linguaggio C/C++. Le funzionalità IntelliSense verranno disabilitate. Errore: {0}", - "check.permissions": "EPERM: verificare le autorizzazioni per '{0}'", "select.compiler": "Seleziona un compilatore da configurare per IntelliSense", "configure.intelliSense.forFolder": "Come si desidera configurare IntelliSense per la cartella '{0}'?", - "configure.intelliSense.thisFolder": "Come si desidera configurare IntelliSense per questa cartella?", + "configure.intelliSense.thisFolder": "Come desideri configurare IntelliSense per questa cartella?", "found.string": "Trovato in {0}", "use.compiler": "Usa {0}", "configuration.providers": "Provider di configurazione", @@ -23,6 +21,8 @@ "selectCompiler.string": "Seleziona compilatore", "confirmCompiler.string": "Sì", "selectCompiler.message": "È stato trovato il {0} del compilatore. Configurare IntelliSense con questo compilatore?", + "check.permissions": "EPERM: verificare le autorizzazioni per '{0}'", + "unable.to.start": "Non è possibile avviare il server di linguaggio C/C++. Le funzionalità IntelliSense verranno disabilitate. Errore: {0}", "server.crashed.restart": "Si è verificato un arresto anomalo del server di linguaggio. Riavvio...", "server.crashed2": "Si sono verificati cinque arresti anomali del server di linguaggio negli ultimi tre minuti. Non verrà riavviato.", "loggingLevel.changed": "{0} è stato modificato in: {1}", diff --git a/Extension/i18n/ita/src/LanguageServer/extension.i18n.json b/Extension/i18n/ita/src/LanguageServer/extension.i18n.json index aeeda148d1..06e24baf89 100644 --- a/Extension/i18n/ita/src/LanguageServer/extension.i18n.json +++ b/Extension/i18n/ita/src/LanguageServer/extension.i18n.json @@ -11,6 +11,5 @@ "configuration.select.first": "Apri prima una cartella per selezionare una configurazione.", "configuration.provider.select.first": "Apri prima una cartella per selezionare un provider di configurazione.", "edit.configurations.open.first": "Aprire prima una cartella per modificare le configurazioni", - "code.action.aborted": "Impossibile applicare la correzione di Code Analysis perché il documento è stato modificato.", - "add.includepath.open.first": "Aprire prima una cartella da aggiungere a {0}" + "code.action.aborted": "Impossibile applicare la correzione di Code Analysis perché il documento è stato modificato." } \ No newline at end of file diff --git a/Extension/i18n/ita/src/LanguageServer/ui.i18n.json b/Extension/i18n/ita/src/LanguageServer/ui.i18n.json index a79331d31a..4882996c54 100644 --- a/Extension/i18n/ita/src/LanguageServer/ui.i18n.json +++ b/Extension/i18n/ita/src/LanguageServer/ui.i18n.json @@ -20,8 +20,6 @@ "mode.analysis.prefix": "Modalità Code Analysis: ", "c.cpp.configureIntelliSenseStatus.text": "Configura IntelliSense", "c.cpp.configureIntelliSenseStatus.cppText": "C/C++ - Configura IntelliSense", - "select.command": "Seleziona un comando...", - "select.code.analysis.command": "Selezionare un comando di Code Analysis...", "c.cpp.configuration.tooltip": "Configurazione C/C++", "c.cpp.references.statusbar": "Stato riferimenti C/C++", "cpptools.status.intellisense": "Stato IntelliSense C/C++", @@ -49,6 +47,8 @@ "disable.configuration.provider": "Disabilita il provider di configurazione attivo, se applicabile.", "select.compile.commands": "Seleziona un file compile_commands.json...", "select.workspace": "Seleziona una cartella dell'area di lavoro...", + "select.command": "Seleziona un comando...", + "select.code.analysis.command": "Selezionare un comando di Code Analysis...", "resume.parsing": "Riprendi analisi area di lavoro", "pause.parsing": "Sospendi analisi area di lavoro", "cancel.analysis": "Annulla", diff --git a/Extension/i18n/jpn/package.i18n.json b/Extension/i18n/jpn/package.i18n.json index 48f5ed65e5..a8a8aecf8b 100644 --- a/Extension/i18n/jpn/package.i18n.json +++ b/Extension/i18n/jpn/package.i18n.json @@ -247,6 +247,10 @@ "c_cpp.configuration.caseSensitiveFileSupport.markdownDescription": "`default` に設定すると、ワークスペースのファイル システムは Windows では大文字と小文字を区別せず、macOS または Linux では大文字と小文字を区別すると見なされます。`enabled` に設定すると、ワークスペースのファイル システムは Windows で大文字と小文字を区別すると見なされます。", "c_cpp.configuration.enhancedColorization.markdownDescription": "有効にすると、IntelliSense に基づいてコードが色分けされます。この設定は、 `#C_Cpp.intelliSenseEngine#` が `default` に設定されている場合にのみ適用されます。", "c_cpp.configuration.codeFolding.description": "有効にした場合、コードの折りたたみの範囲は言語サーバーによって指定されます。", + "c_cpp.configuration.markdownInComments.description": "ホバー ツールヒントでマークダウンを使用可能にするかどうかを選択します。既定では、ホバー ツールヒントのコメントにはマークダウン機能の一部のみが適用されます。", + "c_cpp.configuration.markdownInComments.subsetEnabled.description": "ホバー ツールヒントのすべてのマークダウン機能を有効にします ('_' 文字と '*' 文字が含まれるものを除く)。", + "c_cpp.configuration.markdownInComments.enabled.description": "ホバー ツールヒントですべてのマークダウン機能を有効にします。", + "c_cpp.configuration.markdownInComments.disabled.description": "ホバー ツールヒントのすべてのマークダウン機能を無効にします。", "c_cpp.configuration.hover.description": "無効にすると、ホバーの詳細が言語サーバーから提供されなくなります。", "c_cpp.configuration.vcpkg.enabled.markdownDescription": "[vcpkg 依存関係マネージャー](https://aka.ms/vcpkg/) の統合サービスを有効にします。", "c_cpp.configuration.addNodeAddonIncludePaths.markdownDescription": "依存関係である場合は、`nan` および `node-addon-api` のインクルード パスを追加してください。", diff --git a/Extension/i18n/jpn/src/LanguageServer/client.i18n.json b/Extension/i18n/jpn/src/LanguageServer/client.i18n.json index c13203fd66..cb8c105d10 100644 --- a/Extension/i18n/jpn/src/LanguageServer/client.i18n.json +++ b/Extension/i18n/jpn/src/LanguageServer/client.i18n.json @@ -4,8 +4,6 @@ *--------------------------------------------------------------------------------------------*/ // Do not edit this file. It is machine generated. { - "unable.to.start": "C/C++ 言語サーバーを起動できません。IntelliSense 機能は無効になります。エラー: {0}", - "check.permissions": "EPERM: '{0}' のアクセス許可を確認してください", "select.compiler": "IntelliSense 用に構成するコンパイラを選択する", "configure.intelliSense.forFolder": "'{0}' フォルダーの IntelliSense をどのように構成しますか?", "configure.intelliSense.thisFolder": "このフォルダーの IntelliSense をどのように構成しますか?", @@ -23,6 +21,8 @@ "selectCompiler.string": "コンパイラを選択する", "confirmCompiler.string": "はい", "selectCompiler.message": "コンパイラ {0} が見つかりました。このコンパイラで IntelliSense を構成しますか?", + "check.permissions": "EPERM: '{0}' のアクセス許可を確認してください", + "unable.to.start": "C/C++ 言語サーバーを起動できません。IntelliSense 機能は無効になります。エラー: {0}", "server.crashed.restart": "言語サーバーがクラッシュしました。再起動しています...", "server.crashed2": "言語サーバーが過去 3 分間に 5 回クラッシュしました。再起動されません。", "loggingLevel.changed": "{0} が次に変更されました: {1}", diff --git a/Extension/i18n/jpn/src/LanguageServer/extension.i18n.json b/Extension/i18n/jpn/src/LanguageServer/extension.i18n.json index 3a0aa863e5..e491a51931 100644 --- a/Extension/i18n/jpn/src/LanguageServer/extension.i18n.json +++ b/Extension/i18n/jpn/src/LanguageServer/extension.i18n.json @@ -11,6 +11,5 @@ "configuration.select.first": "構成を選択するには、まずフォルダーを開いてください。", "configuration.provider.select.first": "構成プロバイダーを選択するには、まずフォルダーを開いてください。", "edit.configurations.open.first": "構成を編集するには、まずフォルダーを開いてください", - "code.action.aborted": "ドキュメントが変更されたため、コード分析修正プログラムを適用できませんでした。", - "add.includepath.open.first": "{0} に追加するには、まずフォルダーを開いてください" + "code.action.aborted": "ドキュメントが変更されたため、コード分析修正プログラムを適用できませんでした。" } \ No newline at end of file diff --git a/Extension/i18n/jpn/src/LanguageServer/ui.i18n.json b/Extension/i18n/jpn/src/LanguageServer/ui.i18n.json index 7deaaaa1c1..ac67780d9d 100644 --- a/Extension/i18n/jpn/src/LanguageServer/ui.i18n.json +++ b/Extension/i18n/jpn/src/LanguageServer/ui.i18n.json @@ -20,8 +20,6 @@ "mode.analysis.prefix": "Code Analysis モード: ", "c.cpp.configureIntelliSenseStatus.text": "IntelliSense の構成", "c.cpp.configureIntelliSenseStatus.cppText": "C/C++ IntelliSense の構成", - "select.command": "コマンドを選択する...", - "select.code.analysis.command": "コード分析コマンドを選択...", "c.cpp.configuration.tooltip": "C/C++ 構成", "c.cpp.references.statusbar": "C/C + + リファレンスの状態", "cpptools.status.intellisense": "C/c + + IntelliSense の状態", @@ -49,6 +47,8 @@ "disable.configuration.provider": "該当する場合は、アクティブな構成プロバイダーを無効にします。", "select.compile.commands": "compile_commands.json を選択してください...", "select.workspace": "ワークスペース フォルダーを選択します...", + "select.command": "コマンドを選択する...", + "select.code.analysis.command": "コード分析コマンドを選択...", "resume.parsing": "ワークスペースの解析の再開", "pause.parsing": "ワークスペースの解析の一時停止", "cancel.analysis": "キャンセル", diff --git a/Extension/i18n/kor/package.i18n.json b/Extension/i18n/kor/package.i18n.json index 38545f02a2..d97057fc5d 100644 --- a/Extension/i18n/kor/package.i18n.json +++ b/Extension/i18n/kor/package.i18n.json @@ -247,6 +247,10 @@ "c_cpp.configuration.caseSensitiveFileSupport.markdownDescription": "`default`로 설정하면 작업 공간의 파일 시스템이 Windows에서는 대소문자를 구분하지 않고 macOS 또는 Linux에서는 대소문자를 구분하는 것으로 간주됩니다. `enabled`로 설정하면 작업 영역의 파일 시스템이 Windows에서 대소문자를 구분하는 것으로 간주됩니다.", "c_cpp.configuration.enhancedColorization.markdownDescription": "사용하도록 설정된 경우 IntelliSense를 기반으로 코드 색이 지정됩니다. `#C_Cpp.intelliSenseEngine#`이 `default`로 설정된 경우에만 이 설정이 적용됩니다.", "c_cpp.configuration.codeFolding.description": "사용하도록 설정하면 언어 서버에서 코드 접기 범위를 제공합니다.", + "c_cpp.configuration.markdownInComments.description": "가리키기 도구 설명에서 Markdown을 사용할 수 있는지 여부를 선택합니다. 기본값으로, Markdown의 하위 집합만 가리키기 도구 설명의 주석에 적용됩니다.", + "c_cpp.configuration.markdownInComments.subsetEnabled.description": "가리키기 도구 설명에서 '_' 및 '*' 문자를 포함하는 기능을 제외한 모든 Markdown 기능을 활성화합니다.", + "c_cpp.configuration.markdownInComments.enabled.description": "가리키기 도구 설명에서 모든 Markdown 기능을 활성화합니다.", + "c_cpp.configuration.markdownInComments.disabled.description": "가리키기 도구 설명에서 모든 Markdown 기능을 비활성화합니다.", "c_cpp.configuration.hover.description": "사용하지 않도록 설정하면 언어 서버에서 마우스로 가리키기 세부 정보를 더 이상 제공하지 않습니다.", "c_cpp.configuration.vcpkg.enabled.markdownDescription": "[vcpkg 종속성 관리자](https://aka.ms/vcpkg/)에 대해 통합 서비스를 사용하도록 설정합니다.", "c_cpp.configuration.addNodeAddonIncludePaths.markdownDescription": "`nan` 및 `node-addon-api`가 종속성일 때 해당 포함 경로를 추가합니다.", diff --git a/Extension/i18n/kor/src/LanguageServer/client.i18n.json b/Extension/i18n/kor/src/LanguageServer/client.i18n.json index 954b450a0d..0754d73ea5 100644 --- a/Extension/i18n/kor/src/LanguageServer/client.i18n.json +++ b/Extension/i18n/kor/src/LanguageServer/client.i18n.json @@ -4,11 +4,9 @@ *--------------------------------------------------------------------------------------------*/ // Do not edit this file. It is machine generated. { - "unable.to.start": "C/C++ 언어 서버를 시작할 수 없습니다. IntelliSense 기능을 사용할 수 없습니다. 오류: {0}", - "check.permissions": "EPERM: '{0}'에 대한 사용 권한 확인", "select.compiler": "IntelliSense에 구성할 컴파일러 선택", "configure.intelliSense.forFolder": "'{0}' 폴더에 대해 IntelliSense를 어떻게 구성하시겠습니까?", - "configure.intelliSense.thisFolder": "IntelliSense 이 폴더를 어떻게 구성하시겠습니까?", + "configure.intelliSense.thisFolder": "이 폴더에 IntelliSense를 어떻게 구성하려고 하나요?", "found.string": "{0}에서 찾음", "use.compiler": "{0} 사용", "configuration.providers": "구성 공급자", @@ -23,6 +21,8 @@ "selectCompiler.string": "컴파일러 선택", "confirmCompiler.string": "예", "selectCompiler.message": "{0} 컴파일러를 발견했습니다. 이 컴파일러를 사용하여 IntelliSense를 구성할까요?", + "check.permissions": "EPERM: '{0}'에 대한 사용 권한 확인", + "unable.to.start": "C/C++ 언어 서버를 시작할 수 없습니다. IntelliSense 기능을 사용할 수 없습니다. 오류: {0}", "server.crashed.restart": "언어 서버가 중단되었습니다. 다시 시작하는 중입니다...", "server.crashed2": "지난 3분 동안 언어 서버에서 크래시가 5회 발생했습니다. 다시 시작되지 않습니다.", "loggingLevel.changed": "{0}이(가) {1}(으)로 변경되었습니다.", diff --git a/Extension/i18n/kor/src/LanguageServer/extension.i18n.json b/Extension/i18n/kor/src/LanguageServer/extension.i18n.json index a6c4a97722..4240615fad 100644 --- a/Extension/i18n/kor/src/LanguageServer/extension.i18n.json +++ b/Extension/i18n/kor/src/LanguageServer/extension.i18n.json @@ -11,6 +11,5 @@ "configuration.select.first": "먼저 구성을 선택할 폴더를 엽니다.", "configuration.provider.select.first": "먼저 구성 공급자를 선택할 폴더를 엽니다.", "edit.configurations.open.first": "먼저 구성을 편집할 폴더 열기", - "code.action.aborted": "문서가 변경되어 코드 분석 수정 사항을 적용할 수 없습니다.", - "add.includepath.open.first": "먼저 {0}에 추가할 폴더 열기" + "code.action.aborted": "문서가 변경되어 코드 분석 수정 사항을 적용할 수 없습니다." } \ No newline at end of file diff --git a/Extension/i18n/kor/src/LanguageServer/ui.i18n.json b/Extension/i18n/kor/src/LanguageServer/ui.i18n.json index 50b1921fb7..3803a27c4d 100644 --- a/Extension/i18n/kor/src/LanguageServer/ui.i18n.json +++ b/Extension/i18n/kor/src/LanguageServer/ui.i18n.json @@ -20,8 +20,6 @@ "mode.analysis.prefix": "Code Analysis 모드: ", "c.cpp.configureIntelliSenseStatus.text": "IntelliSense 구성", "c.cpp.configureIntelliSenseStatus.cppText": "C/C++ IntelliSense 구성", - "select.command": "명령 선택...", - "select.code.analysis.command": "코드 분석 명령 선택...", "c.cpp.configuration.tooltip": "C/C++ 구성", "c.cpp.references.statusbar": "C/C++ 참조 상태", "cpptools.status.intellisense": "C/C++ IntelliSense 상태", @@ -49,6 +47,8 @@ "disable.configuration.provider": "해당하는 경우 활성 구성 공급자를 사용하지 않도록 설정합니다.", "select.compile.commands": "compile_commands.json 선택...", "select.workspace": "작업 영역 폴더 선택...", + "select.command": "명령 선택...", + "select.code.analysis.command": "코드 분석 명령 선택...", "resume.parsing": "작업 영역 구문 분석 다시 시작", "pause.parsing": "작업 영역 구문 분석 일시 중지", "cancel.analysis": "취소", diff --git a/Extension/i18n/plk/package.i18n.json b/Extension/i18n/plk/package.i18n.json index 24852823a1..86eb9180b8 100644 --- a/Extension/i18n/plk/package.i18n.json +++ b/Extension/i18n/plk/package.i18n.json @@ -247,6 +247,10 @@ "c_cpp.configuration.caseSensitiveFileSupport.markdownDescription": "W przypadku ustawienia wartości `default` przyjmuje się, że system plików obszaru roboczego w systemie Windows nie uwzględnia wielkości liter, a w systemie macOS lub Linux wielkość liter jest uwzględniana. W przypadku ustawienia wartości `enabled` przyjmuje się, że system plików obszaru roboczego uwzględnia wielkość liter w systemie Windows.", "c_cpp.configuration.enhancedColorization.markdownDescription": "Jeśli ta opcja jest włączona, kod jest kolorowany na podstawie funkcji IntelliSense. To ustawienie ma zastosowanie tylko wtedy, gdy właściwość `#C_Cpp.intelliSenseEngine#` ma wartość `default`.", "c_cpp.configuration.codeFolding.description": "Jeśli ta opcja jest włączona, zakresy składania kodu są dostarczane przez serwer języka.", + "c_cpp.configuration.markdownInComments.description": "Wybierz, czy język Markdown będzie dostępny w etykietce narzędzia aktywowania. Domyślnie tylko podzbiór języka Markdown będzie stosowany do komentarzy w etykietce narzędzia aktywowania.", + "c_cpp.configuration.markdownInComments.subsetEnabled.description": "Włącz wszystkie funkcje języka Markdown w etykietce narzędzia aktywowania z wyjątkiem tych, które zawierają znaki „_” i „*”.", + "c_cpp.configuration.markdownInComments.enabled.description": "Włącz wszystkie funkcje języka Markdown w etykietce narzędzia aktywowania.", + "c_cpp.configuration.markdownInComments.disabled.description": "Wyłącz wszystkie funkcje języka Markdown w etykietce narzędzia aktywowania.", "c_cpp.configuration.hover.description": "W przypadku wyłączenia szczegóły dotyczące umieszczania wskaźnika myszy nie będą już udostępniane przez serwer języka.", "c_cpp.configuration.vcpkg.enabled.markdownDescription": "Włącz usługi integracji dla elementu [vcpkg dependency manager](https://aka.ms/vcpkg/).", "c_cpp.configuration.addNodeAddonIncludePaths.markdownDescription": "Dodaj ścieżki dołączania z plików `nan` i `node-addon-api`, jeśli są one zależnościami.", @@ -430,4 +434,4 @@ "c_cpp.walkthrough.customize.debugging.linux.description": "Możesz dostosować konfigurację debugowania (np. aby przekazywać argumenty do programu w czasie uruchamiania), wybierając pozycję „Dodaj konfigurację debugowania” po prawej stronie przycisku odtwarzania. Niestandardowa konfiguracja debugowania jest zapisywana w pliku projektu launch.json. \n[Dowiedz się więcej](https://code.visualstudio.com/docs/cpp/config-msvc#_debug-helloworldcpp)", "c_cpp.walkthrough.customize.debugging.windows.description": "Możesz dostosować konfigurację debugowania (np. aby przekazywać argumenty do programu w czasie uruchamiania), wybierając pozycję „Dodaj konfigurację debugowania” po prawej stronie przycisku odtwarzania. Niestandardowa konfiguracja debugowania jest zapisywana w pliku projektu launch.json. \n[Dowiedz się więcej](https://code.visualstudio.com/docs/cpp/config-clang-mac#_debug-helloworldcpp)", "c_cpp.walkthrough.customize.debugging.altText": "Obraz przedstawiający pozycję „Dodaj konfigurację debugowania” na liście rozwijanej" -} \ No newline at end of file +} diff --git a/Extension/i18n/plk/src/LanguageServer/client.i18n.json b/Extension/i18n/plk/src/LanguageServer/client.i18n.json index dc406abfb1..1d3dd0c361 100644 --- a/Extension/i18n/plk/src/LanguageServer/client.i18n.json +++ b/Extension/i18n/plk/src/LanguageServer/client.i18n.json @@ -4,8 +4,6 @@ *--------------------------------------------------------------------------------------------*/ // Do not edit this file. It is machine generated. { - "unable.to.start": "Nie można uruchomić serwera języka C/C++. Funkcje IntelliSense zostaną wyłączone. Błąd: {0}", - "check.permissions": "EPERM: sprawdź uprawnienia dla elementu „{0}”", "select.compiler": "Wybierz kompilator do skonfigurowania dla funkcji IntelliSense", "configure.intelliSense.forFolder": "Jak chcesz skonfigurować funkcję IntelliSense dla folderu „{0}”?", "configure.intelliSense.thisFolder": "Jak chcesz skonfigurować funkcję IntelliSense dla tego folderu?", @@ -23,6 +21,8 @@ "selectCompiler.string": "Wybierz kompilator", "confirmCompiler.string": "Tak", "selectCompiler.message": "Znaleziono kompilator {0}. Czy chcesz skonfigurować funkcję IntelliSense za pomocą tego kompilatora?", + "check.permissions": "EPERM: sprawdź uprawnienia dla elementu „{0}”", + "unable.to.start": "Nie można uruchomić serwera języka C/C++. Funkcje IntelliSense zostaną wyłączone. Błąd: {0}", "server.crashed.restart": "Wystąpiła awaria serwera języka. Trwa ponowne uruchamianie...", "server.crashed2": "W ciągu ostatnich 3 minut awaria serwera języka wystąpiła 5 razy. Nie zostanie on ponownie uruchomiony.", "loggingLevel.changed": "Poziom {0} zmienił się na: {1}", diff --git a/Extension/i18n/plk/src/LanguageServer/extension.i18n.json b/Extension/i18n/plk/src/LanguageServer/extension.i18n.json index 358bdcd7eb..4bf4cdef27 100644 --- a/Extension/i18n/plk/src/LanguageServer/extension.i18n.json +++ b/Extension/i18n/plk/src/LanguageServer/extension.i18n.json @@ -11,6 +11,5 @@ "configuration.select.first": "Najpierw otwórz folder, aby wybrać konfigurację.", "configuration.provider.select.first": "Najpierw otwórz folder, aby wybrać dostawcę konfiguracji.", "edit.configurations.open.first": "Otwórz najpierw folder, aby edytować konfiguracje", - "code.action.aborted": "Nie można rozwiązać problemu z analizą kodu, ponieważ dokument został zmieniony.", - "add.includepath.open.first": "Otwórz najpierw folder, aby dodać go do {0}" + "code.action.aborted": "Nie można rozwiązać problemu z analizą kodu, ponieważ dokument został zmieniony." } \ No newline at end of file diff --git a/Extension/i18n/plk/src/LanguageServer/ui.i18n.json b/Extension/i18n/plk/src/LanguageServer/ui.i18n.json index 118e255e79..e67c9c1243 100644 --- a/Extension/i18n/plk/src/LanguageServer/ui.i18n.json +++ b/Extension/i18n/plk/src/LanguageServer/ui.i18n.json @@ -20,8 +20,6 @@ "mode.analysis.prefix": "Tryb analizy kodu: ", "c.cpp.configureIntelliSenseStatus.text": "Konfigurowanie funkcji IntelliSense", "c.cpp.configureIntelliSenseStatus.cppText": "Konfigurowanie funkcji IntelliSense (C/C++)", - "select.command": "Wybierz polecenie...", - "select.code.analysis.command": "Wybierz polecenie analizy kodu...", "c.cpp.configuration.tooltip": "Konfiguracja języka C/C++", "c.cpp.references.statusbar": "Stan odwołań języka C/C++", "cpptools.status.intellisense": "Stan funkcji IntelliSense języka C/C++", @@ -49,6 +47,8 @@ "disable.configuration.provider": "Wyłącz aktywnego dostawcę konfiguracji, jeśli ma zastosowanie.", "select.compile.commands": "Wybierz plik compile_commands.json...", "select.workspace": "Wybierz folder obszaru roboczego...", + "select.command": "Wybierz polecenie...", + "select.code.analysis.command": "Wybierz polecenie analizy kodu...", "resume.parsing": "Wznów analizowanie obszaru roboczego", "pause.parsing": "Wstrzymaj analizowanie obszaru roboczego", "cancel.analysis": "Anuluj", diff --git a/Extension/i18n/ptb/package.i18n.json b/Extension/i18n/ptb/package.i18n.json index 934c92c1cb..81da014fd0 100644 --- a/Extension/i18n/ptb/package.i18n.json +++ b/Extension/i18n/ptb/package.i18n.json @@ -247,6 +247,10 @@ "c_cpp.configuration.caseSensitiveFileSupport.markdownDescription": "Se definido como `default`, o sistema de arquivos do workspace não diferencia maiúsculas de minúsculas no Windows e diferencia maiúsculas de minúsculas no macOS ou Linux. Se definido como `enabled`, o sistema de arquivos do workspace é considerado sensível a maiúsculas e minúsculas no Windows.", "c_cpp.configuration.enhancedColorization.markdownDescription": "Se habilitado, o código é colorido com base no IntelliSense. Esta configuração só se aplica se `#C_Cpp.intelliSenseEngine#` estiver definido como `default`.", "c_cpp.configuration.codeFolding.description": "Se habilitado, os intervalos de dobramento de código serão fornecidos pelo servidor de idiomas.", + "c_cpp.configuration.markdownInComments.description": "Selecione se a remarcação estará disponível na dica de ferramenta instantânea. Por padrão, apenas um subconjunto de marcação será aplicado aos comentários na dica de ferramenta instantânea.", + "c_cpp.configuration.markdownInComments.subsetEnabled.description": "Habilite todos os recursos de marcação na dica de ferramenta instantânea, exceto aqueles que incluem os caracteres '_' e '*'.", + "c_cpp.configuration.markdownInComments.enabled.description": "Habilite todos os recursos de marcação na dica de ferramenta de foco.", + "c_cpp.configuration.markdownInComments.disabled.description": "Desabilite todos os recursos de marcação na dica de ferramenta de foco.", "c_cpp.configuration.hover.description": "Se desabilitado, os detalhes do hover não são mais fornecidos pelo servidor de idiomas.", "c_cpp.configuration.vcpkg.enabled.markdownDescription": "Habilitar os serviços de integração para o [gerenciador de dependências vcpkg](https://aka.ms/vcpkg/).", "c_cpp.configuration.addNodeAddonIncludePaths.markdownDescription": "Adicione caminhos de inclusão de `nan` e `node-addon-api` quando forem dependências.", @@ -430,4 +434,4 @@ "c_cpp.walkthrough.customize.debugging.linux.description": "Você pode personalizar sua configuração de depuração (por exemplo, para passar argumentos para seu programa em tempo de execução) selecionando \"Adicionar Configuração de Depuração\" à direita do botão de reprodução. A configuração de depuração personalizada é salva no arquivo launch.json do seu projeto.\n[Saiba mais](https://code.visualstudio.com/docs/cpp/config-msvc#_debug-helloworldcpp)", "c_cpp.walkthrough.customize.debugging.windows.description": "Você pode personalizar sua configuração de depuração (por exemplo, para passar argumentos para seu programa em tempo de execução) selecionando \"Adicionar Configuração de Depuração\" à direita do botão de reprodução. A configuração de depuração personalizada é salva no arquivo launch.json do seu projeto.\n[Saiba mais](https://code.visualstudio.com/docs/cpp/config-clang-mac#_debug-helloworldcpp)", "c_cpp.walkthrough.customize.debugging.altText": "Imagem que mostra Adicionar configuração de depuração no menu suspenso" -} \ No newline at end of file +} diff --git a/Extension/i18n/ptb/src/LanguageServer/client.i18n.json b/Extension/i18n/ptb/src/LanguageServer/client.i18n.json index e11c4bbb0a..d4f68b6466 100644 --- a/Extension/i18n/ptb/src/LanguageServer/client.i18n.json +++ b/Extension/i18n/ptb/src/LanguageServer/client.i18n.json @@ -4,11 +4,9 @@ *--------------------------------------------------------------------------------------------*/ // Do not edit this file. It is machine generated. { - "unable.to.start": "Não é possível iniciar o servidor de linguagem C/C++. Os recursos do IntelliSense serão desabilitados. Erro: {0}", - "check.permissions": "EPERM: verifique as permissões para '{0}'", "select.compiler": "Selecionar um compilador a ser configurado para o IntelliSense", "configure.intelliSense.forFolder": "Como você deseja configurar o IntelliSense para a pasta \"{0}\"?", - "configure.intelliSense.thisFolder": "Como você deseja configurar o IntelliSense para esta pasta?", + "configure.intelliSense.thisFolder": "Como você gostaria de configurar o IntelliSense para esta pasta?", "found.string": "Encontrado em {0}", "use.compiler": "Usar {0}", "configuration.providers": "provedores de configuração", @@ -23,6 +21,8 @@ "selectCompiler.string": "Selecionar Compilador", "confirmCompiler.string": "Sim", "selectCompiler.message": "O compilador {0} foi encontrado. Deseja configurar o IntelliSense com este compilador?", + "check.permissions": "EPERM: verifique as permissões para '{0}'", + "unable.to.start": "Não é possível iniciar o servidor de linguagem C/C++. Os recursos do IntelliSense serão desabilitados. Erro: {0}", "server.crashed.restart": "O servidor de idiomas travou. Reiniciando...", "server.crashed2": "O servidor de idioma falhou cinco vezes nos últimos três minutos. Ele não será reiniciado.", "loggingLevel.changed": "{0} foi alterado para: {1}", diff --git a/Extension/i18n/ptb/src/LanguageServer/extension.i18n.json b/Extension/i18n/ptb/src/LanguageServer/extension.i18n.json index 3c1e75f49c..81472724d5 100644 --- a/Extension/i18n/ptb/src/LanguageServer/extension.i18n.json +++ b/Extension/i18n/ptb/src/LanguageServer/extension.i18n.json @@ -11,6 +11,5 @@ "configuration.select.first": "Primeiro, abra uma pasta para selecionar uma configuração.", "configuration.provider.select.first": "Primeiro, abra uma pasta para selecionar um provedor de configuração.", "edit.configurations.open.first": "Abrir uma pasta primeiro para editar as configurações", - "code.action.aborted": "Não foi possível aplicar a correção de análise de código porque o documento foi alterado.", - "add.includepath.open.first": "Abrir uma pasta primeiro para adicionar a {0}" + "code.action.aborted": "Não foi possível aplicar a correção de análise de código porque o documento foi alterado." } \ No newline at end of file diff --git a/Extension/i18n/ptb/src/LanguageServer/ui.i18n.json b/Extension/i18n/ptb/src/LanguageServer/ui.i18n.json index 1aa8ec4659..976c64d232 100644 --- a/Extension/i18n/ptb/src/LanguageServer/ui.i18n.json +++ b/Extension/i18n/ptb/src/LanguageServer/ui.i18n.json @@ -20,8 +20,6 @@ "mode.analysis.prefix": "Modo do Code Analysis: ", "c.cpp.configureIntelliSenseStatus.text": "Configurar o IntelliSense", "c.cpp.configureIntelliSenseStatus.cppText": "C/C++ Configurar IntelliSense", - "select.command": "Selecionar um comando...", - "select.code.analysis.command": "Selecione um comando de análise de código...", "c.cpp.configuration.tooltip": "Configuração de C/C++", "c.cpp.references.statusbar": "Status de Referências do C/C++", "cpptools.status.intellisense": "Status do IntelliSense do C/C++", @@ -49,6 +47,8 @@ "disable.configuration.provider": "Desabilite o provedor de configuração ativo, se aplicável.", "select.compile.commands": "Selecione um compile_commands.json...", "select.workspace": "Selecionar uma pasta de workspace...", + "select.command": "Selecionar um comando...", + "select.code.analysis.command": "Selecione um comando de análise de código...", "resume.parsing": "Retomar a Análise do Espaço de trabalho", "pause.parsing": "Pausar a Análise do Espaço de trabalho", "cancel.analysis": "Cancelar", diff --git a/Extension/i18n/rus/package.i18n.json b/Extension/i18n/rus/package.i18n.json index ee3d5da9ae..3213768c19 100644 --- a/Extension/i18n/rus/package.i18n.json +++ b/Extension/i18n/rus/package.i18n.json @@ -247,6 +247,10 @@ "c_cpp.configuration.caseSensitiveFileSupport.markdownDescription": "Если задано значение `default`, файловая система рабочей области считается нечувствительной к регистру в Windows и чувствительной к регистру в macOS или Linux. Если задано значение `enabled`, предполагается, что файловая система рабочей области чувствительна к регистру в Windows.", "c_cpp.configuration.enhancedColorization.markdownDescription": "Если этот параметр включен, код раскрашивается в соответствии с IntelliSense. Этот параметр применяется, только если для `#C_Cpp.intelliSenseEngine#` установлено значение `default`.", "c_cpp.configuration.codeFolding.description": "Если этот параметр включен, то диапазоны свертывания кода предоставляются языковым сервером.", + "c_cpp.configuration.markdownInComments.description": "Укажите, будет ли Markdown доступен в подсказке, появляющейся при наведении указателя мыши. По умолчанию к комментариям, подсказке, появляющейся при наведении указателя мыши, будет применено только подмножество Markdown.", + "c_cpp.configuration.markdownInComments.subsetEnabled.description": "Включить все функции Markdown в подсказке, появляющейся при наведении указателя мыши, кроме тех, которые содержат символы \"_\" и \"*\".", + "c_cpp.configuration.markdownInComments.enabled.description": "Включить все функции Markdown в подсказке, появляющейся при наведении указателя мыши.", + "c_cpp.configuration.markdownInComments.disabled.description": "Отключить все функции Markdown в подсказке, появляющейся при наведении указателя мыши.", "c_cpp.configuration.hover.description": "Если этот параметр отключен, сведения при наведении курсора больше не предоставляются языковым сервером.", "c_cpp.configuration.vcpkg.enabled.markdownDescription": "Включите службы интеграции для [диспетчера зависимостей vcpkg](https://aka.ms/vcpkg/).", "c_cpp.configuration.addNodeAddonIncludePaths.markdownDescription": "Добавьте пути включения из `nan` и `node-addon-api`, если они являются зависимостями.", diff --git a/Extension/i18n/rus/src/LanguageServer/client.i18n.json b/Extension/i18n/rus/src/LanguageServer/client.i18n.json index 4e934312d5..00026caef1 100644 --- a/Extension/i18n/rus/src/LanguageServer/client.i18n.json +++ b/Extension/i18n/rus/src/LanguageServer/client.i18n.json @@ -4,8 +4,6 @@ *--------------------------------------------------------------------------------------------*/ // Do not edit this file. It is machine generated. { - "unable.to.start": "Не удалось запустить языковой сервер C/C++. Функции IntelliSense будут отключены. Ошибка: {0}", - "check.permissions": "EPERM: проверьте разрешения для \"{0}\"", "select.compiler": "Выберите компилятор для настройки IntelliSense", "configure.intelliSense.forFolder": "Как вы хотите настроить IntelliSense для папки \"{0}\"?", "configure.intelliSense.thisFolder": "Как вы хотите настроить IntelliSense для этой папки?", @@ -23,6 +21,8 @@ "selectCompiler.string": "Выбор компилятора", "confirmCompiler.string": "Да", "selectCompiler.message": "Обнаружен компилятор {0}. Настроить IntelliSense с этим компилятором?", + "check.permissions": "EPERM: проверьте разрешения для \"{0}\"", + "unable.to.start": "Не удалось запустить языковой сервер C/C++. Функции IntelliSense будут отключены. Ошибка: {0}", "server.crashed.restart": "Сбой языкового сервера. Перезапуск…", "server.crashed2": "Языковой сервер аварийно завершил работу 5 раз за последние 3 минуты. Он не будет перезапущен.", "loggingLevel.changed": "{0} был изменен на: {1}", diff --git a/Extension/i18n/rus/src/LanguageServer/extension.i18n.json b/Extension/i18n/rus/src/LanguageServer/extension.i18n.json index 7d723ce6a5..f6b50496da 100644 --- a/Extension/i18n/rus/src/LanguageServer/extension.i18n.json +++ b/Extension/i18n/rus/src/LanguageServer/extension.i18n.json @@ -11,6 +11,5 @@ "configuration.select.first": "Сначала откройте папку, чтобы выбрать конфигурацию.", "configuration.provider.select.first": "Сначала откройте папку, чтобы выбрать поставщика конфигурации.", "edit.configurations.open.first": "Сначала откройте папку для изменения конфигураций", - "code.action.aborted": "Не удалось применить исправление анализа кода, так как документ был изменен.", - "add.includepath.open.first": "Сначала откройте папку для добавления в {0}" + "code.action.aborted": "Не удалось применить исправление анализа кода, так как документ был изменен." } \ No newline at end of file diff --git a/Extension/i18n/rus/src/LanguageServer/ui.i18n.json b/Extension/i18n/rus/src/LanguageServer/ui.i18n.json index acf76c7c7d..cf632ff63f 100644 --- a/Extension/i18n/rus/src/LanguageServer/ui.i18n.json +++ b/Extension/i18n/rus/src/LanguageServer/ui.i18n.json @@ -20,8 +20,6 @@ "mode.analysis.prefix": "Режим Code Analysis: ", "c.cpp.configureIntelliSenseStatus.text": "Настройка IntelliSense", "c.cpp.configureIntelliSenseStatus.cppText": "Настройка IntelliSense C/C++", - "select.command": "Выберите команду...", - "select.code.analysis.command": "Выберите команду анализа кода...", "c.cpp.configuration.tooltip": "Конфигурация C/C++", "c.cpp.references.statusbar": "Состояние ссылок C/C++", "cpptools.status.intellisense": "Состояние IntelliSense C/C++", @@ -49,6 +47,8 @@ "disable.configuration.provider": "Отключите активный поставщик конфигурации (если применимо).", "select.compile.commands": "Выберите compile_commands.json...", "select.workspace": "Выберите папку рабочей области…", + "select.command": "Выберите команду...", + "select.code.analysis.command": "Выберите команду анализа кода...", "resume.parsing": "Возобновить анализ рабочей области", "pause.parsing": "Приостановить анализ рабочей области", "cancel.analysis": "Отмена", diff --git a/Extension/i18n/trk/package.i18n.json b/Extension/i18n/trk/package.i18n.json index ff2240526a..672cff2355 100644 --- a/Extension/i18n/trk/package.i18n.json +++ b/Extension/i18n/trk/package.i18n.json @@ -247,6 +247,10 @@ "c_cpp.configuration.caseSensitiveFileSupport.markdownDescription": "`default` olarak ayarlanırsa, çalışma alanının dosya sisteminin Windows'da büyük/küçük harfe duyarlı olmadığı ve macOS ya da Linux'ta büyük/küçük harfe duyarlı olduğu varsayılır. `enabled` olarak ayarlanırsa, çalışma alanının dosya sisteminin Windows'da büyük/küçük harfe duyarlı olduğu varsayılır.", "c_cpp.configuration.enhancedColorization.markdownDescription": "Etkinleştirilirse, kod IntelliSense'e göre renklendirilir. Bu ayar yalnızca `#C_Cpp.intelliSenseEngine#` `default` olarak ayarlandıysa geçerlidir.", "c_cpp.configuration.codeFolding.description": "Etkinleştirilirse, kod katlama aralıkları dil sunucusu tarafından sağlanır.", + "c_cpp.configuration.markdownInComments.description": "Üzerine gelme araç ipucunda Markdown'ın kullanılabilir olup olmayacağını seçin. Varsayılan olarak, üzerine gelme araç ipucundaki açıklamalara yalnızca bir Markdown alt kümesi uygulanır.", + "c_cpp.configuration.markdownInComments.subsetEnabled.description": "Üzerine gelme araç ipucundaki '_' ve '*' karakterlerini içerenler dışındaki tüm Markdown özelliklerini etkinleştirin.", + "c_cpp.configuration.markdownInComments.enabled.description": "Üzerine gelme araç ipucundaki tüm Markdown özelliklerini etkinleştirin.", + "c_cpp.configuration.markdownInComments.disabled.description": "Üzerine gelme araç ipucundaki tüm Markdown özelliklerini devre dışı bırakın.", "c_cpp.configuration.hover.description": "Devre dışı bırakılırsa üzerine gelme ayrıntıları artık dil sunucusu tarafından sağlanmaz.", "c_cpp.configuration.vcpkg.enabled.markdownDescription": "[vcpkg bağımlılık yöneticisi](https://aka.ms/vcpkg/) için tümleştirme hizmetlerini etkinleştirin.", "c_cpp.configuration.addNodeAddonIncludePaths.markdownDescription": "`nan` ve `node-addon-api` bağımlılık olduğunda bunlardan ekleme yolları ekleyin.", @@ -430,4 +434,4 @@ "c_cpp.walkthrough.customize.debugging.linux.description": "Yürüt düğmesinin sağındaki \"Hata Ayıklama Yapılandırması Ekle\"yi seçerek hata ayıklama yapılandırmanızı özelleştirebilirsiniz (ör. çalışma zamanında programınıza bağımsız değişkenler geçirmek için). Özel hata ayıklama yapılandırması, projenizin launch.json dosyasına kaydedilir.\n[Daha Fazla Bilgi Edinin](https://code.visualstudio.com/docs/cpp/config-msvc#_debug-helloworldcpp)", "c_cpp.walkthrough.customize.debugging.windows.description": "Yürüt düğmesinin sağındaki \"Hata Ayıklama Yapılandırması Ekle\"yi seçerek hata ayıklama yapılandırmanızı özelleştirebilirsiniz (ör. çalışma zamanında programınıza bağımsız değişkenler geçirmek için). Özel hata ayıklama yapılandırması, projenizin launch.json dosyasına kaydedilir. \n[Daha Fazla Bilgi Edinin](https://code.visualstudio.com/docs/cpp/config-clang-mac#_debug-helloworldcpp)", "c_cpp.walkthrough.customize.debugging.altText": "Açılır menüde Hata Ayıklama Yapılandırması Ekle'yi gösteren resim" -} \ No newline at end of file +} diff --git a/Extension/i18n/trk/src/LanguageServer/client.i18n.json b/Extension/i18n/trk/src/LanguageServer/client.i18n.json index 59093ae781..7ef538d626 100644 --- a/Extension/i18n/trk/src/LanguageServer/client.i18n.json +++ b/Extension/i18n/trk/src/LanguageServer/client.i18n.json @@ -4,8 +4,6 @@ *--------------------------------------------------------------------------------------------*/ // Do not edit this file. It is machine generated. { - "unable.to.start": "C/C++ dil sunucusu başlatılamıyor. IntelliSense özellikleri devre dışı bırakılacak. Hata: {0}", - "check.permissions": "EPERM: '{0}' için izinleri denetle", "select.compiler": "IntelliSense için yapılandırmak istediğiniz derleyiciyi seçin", "configure.intelliSense.forFolder": "'{0}' klasörü için IntelliSense'i nasıl yapılandırmak istiyorsunuz?", "configure.intelliSense.thisFolder": "Bu klasör için IntelliSense'i nasıl yapılandırmak istiyorsunuz?", @@ -23,6 +21,8 @@ "selectCompiler.string": "Derleyici Seç", "confirmCompiler.string": "Evet", "selectCompiler.message": "{0} derleyicisi bulundu. IntelliSense'i bu derleyiciyle yapılandırmak istiyor musunuz?", + "check.permissions": "EPERM: '{0}' için izinleri denetle", + "unable.to.start": "C/C++ dil sunucusu başlatılamıyor. IntelliSense özellikleri devre dışı bırakılacak. Hata: {0}", "server.crashed.restart": "Dil sunucusu kilitlendi. Yeniden başlatılıyor...", "server.crashed2": "Dil sunucusu son 3 dakikada 5 kez kilitlendi. Sunucu yeniden başlatılmayacak.", "loggingLevel.changed": "{0} {1} olarak değiştirildi", diff --git a/Extension/i18n/trk/src/LanguageServer/extension.i18n.json b/Extension/i18n/trk/src/LanguageServer/extension.i18n.json index 21802306f9..b13c8f7dcf 100644 --- a/Extension/i18n/trk/src/LanguageServer/extension.i18n.json +++ b/Extension/i18n/trk/src/LanguageServer/extension.i18n.json @@ -11,6 +11,5 @@ "configuration.select.first": "Yapılandırma seçmek için önce bir klasör açın.", "configuration.provider.select.first": "Yapılandırma sağlayıcısı seçmek için önce bir klasör açın.", "edit.configurations.open.first": "Yapılandırmaları düzenlemek için önce bir klasör açın", - "code.action.aborted": "Belge değiştiğinden kod analizi düzeltmesi uygulanamadı.", - "add.includepath.open.first": "{0} öğesine eklemek için önce bir klasör açın" + "code.action.aborted": "Belge değiştiğinden kod analizi düzeltmesi uygulanamadı." } \ No newline at end of file diff --git a/Extension/i18n/trk/src/LanguageServer/ui.i18n.json b/Extension/i18n/trk/src/LanguageServer/ui.i18n.json index 2acf1736c3..01d6b3bbb2 100644 --- a/Extension/i18n/trk/src/LanguageServer/ui.i18n.json +++ b/Extension/i18n/trk/src/LanguageServer/ui.i18n.json @@ -20,8 +20,6 @@ "mode.analysis.prefix": "Code Analysis Modu: ", "c.cpp.configureIntelliSenseStatus.text": "IntelliSense'i Yapılandır", "c.cpp.configureIntelliSenseStatus.cppText": "C/C++ IntelliSense'i Yapılandır", - "select.command": "Komut seç...", - "select.code.analysis.command": "Kod analizi komutu seçin...", "c.cpp.configuration.tooltip": "C/C++ Yapılandırması", "c.cpp.references.statusbar": "C/C++ Başvuruları Durumu", "cpptools.status.intellisense": "C/C++ IntelliSense Durumu", @@ -49,6 +47,8 @@ "disable.configuration.provider": "Varsa etkin yapılandırma sağlayıcısını devre dışı bırakın.", "select.compile.commands": "compile_commands.json dosyası seçin...", "select.workspace": "Çalışma alanı klasörü seçin...", + "select.command": "Komut seç...", + "select.code.analysis.command": "Kod analizi komutu seçin...", "resume.parsing": "Çalışma Alanı Ayrıştırmasını Sürdür", "pause.parsing": "Çalışma Alanı Ayrıştırmasını Duraklat", "cancel.analysis": "İptal", diff --git a/Extension/package.json b/Extension/package.json index d0fc5069e8..61ce6a3420 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.17.0-main", + "version": "1.17.1-main", "publisher": "ms-vscode", "icon": "LanguageCCPP_color_128x.png", "readme": "README.md", @@ -3221,7 +3221,7 @@ { "command": "C_Cpp.SwitchHeaderSource", "key": "Alt+O", - "when": "editorLangId == 'c' && editorTextFocus || editorLangId == 'cpp' && editorTextFocus || editorLangId == 'cuda-cpp' && editorTextFocus" + "when": "editorLangId =~ /^(c|(cuda-)?cpp)$/ && editorTextFocus && !(config.C_Cpp.intelliSenseEngine =~ /^[dD]isabled$/)" } ], "debuggers": [ @@ -5458,65 +5458,173 @@ "editor/title/run": [ { "command": "C_Cpp.BuildAndDebugFile", - "when": "editorLangId == 'c' && config.C_Cpp.debugShortcut && cpptools.buildAndDebug.isSourceFile || editorLangId == 'cpp' && config.C_Cpp.debugShortcut && cpptools.buildAndDebug.isSourceFile || editorLangId == 'cuda-cpp' && config.C_Cpp.debugShortcut && cpptools.buildAndDebug.isSourceFile", + "when": "editorLangId =~ /^(c|(cuda-)?cpp)$/ && config.C_Cpp.debugShortcut && cpptools.buildAndDebug.isSourceFile", "group": "navigation@0" }, { "command": "C_Cpp.BuildAndRunFile", - "when": "editorLangId == 'c' && config.C_Cpp.debugShortcut && cpptools.buildAndDebug.isSourceFile || editorLangId == 'cpp' && config.C_Cpp.debugShortcut && cpptools.buildAndDebug.isSourceFile || editorLangId == 'cuda-cpp' && config.C_Cpp.debugShortcut && cpptools.buildAndDebug.isSourceFile", + "when": "editorLangId =~ /^(c|(cuda-)?cpp)$/ && config.C_Cpp.debugShortcut && cpptools.buildAndDebug.isSourceFile", "group": "navigation@1" } ], "editor/title": [ { "command": "C_Cpp.AddDebugConfiguration", - "when": "editorLangId == 'c' && config.C_Cpp.debugShortcut && cpptools.buildAndDebug.isSourceFile && cpptools.buildAndDebug.isFolderOpen || editorLangId == 'cpp' && config.C_Cpp.debugShortcut && cpptools.buildAndDebug.isSourceFile && cpptools.buildAndDebug.isFolderOpen || editorLangId == 'cuda-cpp' && config.C_Cpp.debugShortcut && cpptools.buildAndDebug.isSourceFile && cpptools.buildAndDebug.isFolderOpen", + "when": "editorLangId =~ /^(c|(cuda-)?cpp)$/ && config.C_Cpp.debugShortcut && cpptools.buildAndDebug.isSourceFile && cpptools.buildAndDebug.isFolderOpen", "group": "navigation" } ], "editor/context": [ { "command": "C_Cpp.SwitchHeaderSource", - "when": "config.C_Cpp.intelliSenseEngine != 'disabled' && config.C_Cpp.intelliSenseEngine != 'Disabled' && editorLangId == 'c' || config.C_Cpp.intelliSenseEngine != 'disabled' && config.C_Cpp.intelliSenseEngine != 'Disabled' && editorLangId == 'cpp' || config.C_Cpp.intelliSenseEngine != 'disabled' && config.C_Cpp.intelliSenseEngine != 'Disabled' && editorLangId == 'cuda-cpp'", + "when": "editorLangId =~ /^(c|(cuda-)?cpp)$/ && !(config.C_Cpp.intelliSenseEngine =~ /^[dD]isabled$/)", "group": "custom1@1" }, { "command": "workbench.action.gotoSymbol", - "when": "config.C_Cpp.intelliSenseEngine != 'disabled' && config.C_Cpp.intelliSenseEngine != 'Disabled' && editorLangId == 'c' || config.C_Cpp.intelliSenseEngine != 'disabled' && config.C_Cpp.intelliSenseEngine != 'Disabled' && editorLangId == 'cpp' || config.C_Cpp.intelliSenseEngine != 'disabled' && config.C_Cpp.intelliSenseEngine != 'Disabled' && editorLangId == 'cuda-cpp'", + "when": "editorLangId =~ /^(c|(cuda-)?cpp)$/ && !(config.C_Cpp.intelliSenseEngine =~ /^[dD]isabled$/)", "group": "custom1@2" }, { "command": "workbench.action.showAllSymbols", - "when": "config.C_Cpp.intelliSenseEngine != 'disabled' && config.C_Cpp.intelliSenseEngine != 'Disabled' && editorLangId == 'c' || config.C_Cpp.intelliSenseEngine != 'disabled' && config.C_Cpp.intelliSenseEngine != 'Disabled' && editorLangId == 'cpp' || config.C_Cpp.intelliSenseEngine != 'disabled' && config.C_Cpp.intelliSenseEngine != 'Disabled' && editorLangId == 'cuda-cpp'", + "when": "editorLangId =~ /^(c|(cuda-)?cpp)$/ && !(config.C_Cpp.intelliSenseEngine =~ /^[dD]isabled$/)", "group": "custom1@3" }, { "command": "C_Cpp.RunCodeAnalysisOnActiveFile", - "when": "config.C_Cpp.intelliSenseEngine == 'Default' && editorLangId == 'c' || config.C_Cpp.intelliSenseEngine == 'default' && editorLangId == 'c' || config.C_Cpp.intelliSenseEngine == 'Default' && editorLangId == 'cpp' || config.C_Cpp.intelliSenseEngine == 'default' && editorLangId == 'cpp' || config.C_Cpp.intelliSenseEngine == 'Default' && editorLangId == 'cuda-cpp' || config.C_Cpp.intelliSenseEngine == 'default' && editorLangId == 'cuda-cpp'", + "when": "editorLangId =~ /^(c|(cuda-)?cpp)$/ && config.C_Cpp.intelliSenseEngine =~ /^[dD]efault$/", "group": "custom2@1" }, { "command": "C_Cpp.RestartIntelliSenseForFile", - "when": "config.C_Cpp.intelliSenseEngine == 'Default' && editorLangId == 'c' || config.C_Cpp.intelliSenseEngine == 'default' && editorLangId == 'c' || config.C_Cpp.intelliSenseEngine == 'Default' && editorLangId == 'cpp' || config.C_Cpp.intelliSenseEngine == 'default' && editorLangId == 'cpp' || config.C_Cpp.intelliSenseEngine == 'Default' && editorLangId == 'cuda-cpp' || config.C_Cpp.intelliSenseEngine == 'default' && editorLangId == 'cuda-cpp'", + "when": "editorLangId =~ /^(c|(cuda-)?cpp)$/ && config.C_Cpp.intelliSenseEngine =~ /^[dD]efault$/", "group": "custom2@2" }, { "command": "C_Cpp.AddDebugConfiguration", - "when": "editorLangId == 'c' && config.C_Cpp.debugShortcut && cpptools.buildAndDebug.isSourceFile && cpptools.buildAndDebug.isFolderOpen || editorLangId == 'cpp' && config.C_Cpp.debugShortcut && cpptools.buildAndDebug.isSourceFile && cpptools.buildAndDebug.isFolderOpen || editorLangId == 'cuda-cpp' && config.C_Cpp.debugShortcut && cpptools.buildAndDebug.isSourceFile && cpptools.buildAndDebug.isFolderOpen", + "when": "editorLangId =~ /^(c|(cuda-)?cpp)$/ && config.C_Cpp.debugShortcut && cpptools.buildAndDebug.isSourceFile && cpptools.buildAndDebug.isFolderOpen", "group": "custom2@3" }, { "command": "C_Cpp.GenerateDoxygenComment", - "when": "editorLangId == 'c' && config.C_Cpp.intelliSenseEngine != 'disabled' && config.C_Cpp.intelliSenseEngine != 'Disabled' || editorLangId == 'cpp' && config.C_Cpp.intelliSenseEngine != 'disabled' && config.C_Cpp.intelliSenseEngine != 'Disabled' || editorLangId == 'cuda-cpp' && config.C_Cpp.intelliSenseEngine != 'disabled' && config.C_Cpp.intelliSenseEngine != 'Disabled'", + "when": "editorLangId =~ /^(c|(cuda-)?cpp)$/ && !(config.C_Cpp.intelliSenseEngine =~ /^[dD]isabled$/)", "group": "custom2@4" }, { "command": "C_Cpp.CreateDeclarationOrDefinition", - "when": "editorLangId == 'c' && config.C_Cpp.intelliSenseEngine != 'disabled' && config.C_Cpp.intelliSenseEngine != 'Disabled' || editorLangId == 'cpp' && config.C_Cpp.intelliSenseEngine != 'disabled' && config.C_Cpp.intelliSenseEngine != 'Disabled' || editorLangId == 'cuda-cpp' && config.C_Cpp.intelliSenseEngine != 'disabled' && config.C_Cpp.intelliSenseEngine != 'Disabled'", + "when": "editorLangId =~ /^(c|(cuda-)?cpp)$/ && !(config.C_Cpp.intelliSenseEngine =~ /^[dD]isabled$/)", "group": "custom2@5" } ], "commandPalette": [ + { + "command": "C_Cpp.ConfigurationSelect", + "when": "!(config.C_Cpp.intelliSenseEngine =~ /^[dD]isabled$/)" + }, + { + "command": "C_Cpp.ConfigurationProviderSelect", + "when": "!(config.C_Cpp.intelliSenseEngine =~ /^[dD]isabled$/)" + }, + { + "command": "C_Cpp.ConfigurationEditJSON", + "when": "!(config.C_Cpp.intelliSenseEngine =~ /^[dD]isabled$/)" + }, + { + "command": "C_Cpp.ConfigurationEditUI", + "when": "!(config.C_Cpp.intelliSenseEngine =~ /^[dD]isabled$/)" + }, + { + "command": "C_Cpp.SelectIntelliSenseConfiguration", + "when": "!(config.C_Cpp.intelliSenseEngine =~ /^[dD]isabled$/)" + }, + { + "command": "C_Cpp.SwitchHeaderSource", + "when": "editorLangId =~ /^(c|(cuda-)?cpp)$/ && !(config.C_Cpp.intelliSenseEngine =~ /^[dD]isabled$/)" + }, + { + "command": "C_Cpp.EnableErrorSquiggles", + "when": "config.C_Cpp.intelliSenseEngine =~ /^[dD]efault$/" + }, + { + "command": "C_Cpp.DisableErrorSquiggles", + "when": "config.C_Cpp.intelliSenseEngine =~ /^[dD]efault$/" + }, + { + "command": "C_Cpp.ToggleIncludeFallback", + "when": "config.C_Cpp.intelliSenseEngine =~ /^[dD]efault$/" + }, + { + "command": "C_Cpp.ToggleDimInactiveRegions", + "when": "config.C_Cpp.intelliSenseEngine =~ /^[dD]efault$/" + }, + { + "command": "C_Cpp.ResetDatabase", + "when": "!(config.C_Cpp.intelliSenseEngine =~ /^[dD]isabled$/)" + }, + { + "command": "C_Cpp.RestartIntelliSenseForFile", + "when": "editorLangId =~ /^(c|(cuda-)?cpp)$/ && config.C_Cpp.intelliSenseEngine =~ /^[dD]efault$/" + }, + { + "command": "C_Cpp.LogDiagnostics", + "when": "editorLangId =~ /^(c|(cuda-)?cpp)$/ && !(config.C_Cpp.intelliSenseEngine =~ /^[dD]isabled$/)" + }, + { + "command": "C_Cpp.RescanWorkspace", + "when": "!(config.C_Cpp.intelliSenseEngine =~ /^[dD]isabled$/)" + }, + { + "command": "C_Cpp.VcpkgClipboardInstallSuggested", + "when": "editorLangId =~ /^(c|(cuda-)?cpp)$/ && config.C_Cpp.intelliSenseEngine =~ /^[dD]efault$/" + }, + { + "command": "C_Cpp.GenerateEditorConfig", + "when": "!(config.C_Cpp.intelliSenseEngine =~ /^[dD]isabled$/)" + }, + { + "command": "C_Cpp.GoToNextDirectiveInGroup", + "when": "editorLangId =~ /^(c|(cuda-)?cpp)$/ && !(config.C_Cpp.intelliSenseEngine =~ /^[dD]isabled$/)" + }, + { + "command": "C_Cpp.GoToPrevDirectiveInGroup", + "when": "editorLangId =~ /^(c|(cuda-)?cpp)$/ && !(config.C_Cpp.intelliSenseEngine =~ /^[dD]isabled$/)" + }, + { + "command": "C_Cpp.CreateDeclarationOrDefinition", + "when": "editorLangId =~ /^(c|(cuda-)?cpp)$/ && !(config.C_Cpp.intelliSenseEngine =~ /^[dD]isabled$/)" + }, + { + "command": "C_Cpp.RunCodeAnalysisOnActiveFile", + "when": "editorLangId =~ /^(c|(cuda-)?cpp)$/ && config.C_Cpp.intelliSenseEngine =~ /^[dD]efault$/" + }, + { + "command": "C_Cpp.RunCodeAnalysisOnOpenFiles", + "when": "config.C_Cpp.intelliSenseEngine =~ /^[dD]efault$/" + }, + { + "command": "C_Cpp.RunCodeAnalysisOnAllFiles", + "when": "config.C_Cpp.intelliSenseEngine =~ /^[dD]efault$/" + }, + { + "command": "C_Cpp.RemoveAllCodeAnalysisProblems", + "when": "config.C_Cpp.intelliSenseEngine =~ /^[dD]efault$/" + }, + { + "command": "C_Cpp.BuildAndDebugFile", + "when": "editorLangId =~ /^(c|(cuda-)?cpp)$/ && config.C_Cpp.debugShortcut && cpptools.buildAndDebug.isSourceFile" + }, + { + "command": "C_Cpp.BuildAndRunFile", + "when": "editorLangId =~ /^(c|(cuda-)?cpp)$/ && config.C_Cpp.debugShortcut && cpptools.buildAndDebug.isSourceFile" + }, + { + "command": "C_Cpp.AddDebugConfiguration", + "when": "config.C_Cpp.debugShortcut && cpptools.buildAndDebug.isFolderOpen" + }, + { + "command": "C_Cpp.GenerateDoxygenComment", + "when": "editorLangId =~ /^(c|(cuda-)?cpp)$/ && !(config.C_Cpp.intelliSenseEngine =~ /^[dD]isabled$/)" + }, { "command": "C_Cpp.referencesViewGroupByType", "when": "cpptools.hasReferencesResults" diff --git a/Extension/src/LanguageServer/Providers/callHierarchyProvider.ts b/Extension/src/LanguageServer/Providers/callHierarchyProvider.ts index 15dba0f623..36cefaaba9 100644 --- a/Extension/src/LanguageServer/Providers/callHierarchyProvider.ts +++ b/Extension/src/LanguageServer/Providers/callHierarchyProvider.ts @@ -28,9 +28,9 @@ interface CallHierarchyItem { detail: string; /** - * The resource identifier of this item. + * The file path of this item. */ - uri: string; + file: string; /** * The range enclosing this symbol not including leading/trailing whitespace but everything else, e.g. comments and code. @@ -175,7 +175,7 @@ export class CallHierarchyProvider implements vscode.CallHierarchyProvider { let result: vscode.CallHierarchyIncomingCall[] | undefined; const params: CallHierarchyParams = { textDocument: { uri: item.uri.toString() }, - position: Position.create(item.range.start.line, item.range.start.character) + position: Position.create(item.selectionRange.start.line, item.selectionRange.start.character) }; const response: CallHierarchyCallsItemResult = await this.client.languageClient.sendRequest(CallHierarchyCallsToRequest, params, cancelSource.token); @@ -213,7 +213,7 @@ export class CallHierarchyProvider implements vscode.CallHierarchyProvider { let result: vscode.CallHierarchyOutgoingCall[] | undefined; const params: CallHierarchyParams = { textDocument: { uri: item.uri.toString() }, - position: Position.create(item.range.start.line, item.range.start.character) + position: Position.create(item.selectionRange.start.line, item.selectionRange.start.character) }; const response: CallHierarchyCallsItemResult = await this.client.languageClient.sendRequest(CallHierarchyCallsFromRequest, params, token); @@ -230,10 +230,21 @@ export class CallHierarchyProvider implements vscode.CallHierarchyProvider { private makeVscodeCallHierarchyItem(item: CallHierarchyItem): vscode.CallHierarchyItem { const containerDetail: string = (item.detail !== "") ? `${item.detail} - ` : ""; - const fileDetail: string = `${path.basename(item.uri)} (${path.dirname(item.uri)})`; + const itemUri: vscode.Uri = vscode.Uri.file(item.file); + + // Get file detail + const isInWorkspace: boolean = this.client.RootUri !== undefined && + itemUri.fsPath.startsWith(this.client.RootUri?.fsPath); + const dirPath: string = isInWorkspace ? + path.relative(this.client.RootPath, path.dirname(item.file)) : path.dirname(item.file); + const fileDetail: string = dirPath.length === 0 ? + `${path.basename(item.file)}` : `${path.basename(item.file)} (${dirPath})`; + return new vscode.CallHierarchyItem( - item.kind, item.name, containerDetail + fileDetail, - vscode.Uri.file(item.uri), + item.kind, + item.name, + containerDetail + fileDetail, + itemUri, makeVscodeRange(item.range), makeVscodeRange(item.selectionRange)); } diff --git a/Extension/src/LanguageServer/client.ts b/Extension/src/LanguageServer/client.ts index 598f87a17d..9555683e84 100644 --- a/Extension/src/LanguageServer/client.ts +++ b/Extension/src/LanguageServer/client.ts @@ -1057,6 +1057,7 @@ export class DefaultClient implements Client { if (index === paths.length - 1) { action = "disable"; settings.defaultCompilerPath = ""; + await this.configuration.updateCompilerPathIfSet(settings.defaultCompilerPath); configurationSelected = true; if (showSecondPrompt) { void this.showPrompt(selectIntelliSenseConfig, true, sender); @@ -1112,6 +1113,7 @@ export class DefaultClient implements Client { configurationSelected = true; action = "compiler browsed"; settings.defaultCompilerPath = result[0].fsPath; + await this.configuration.updateCompilerPathIfSet(settings.defaultCompilerPath); void vscode.commands.executeCommand('setContext', 'cpptools.trustedCompilerFound', true); } else { configurationSelected = true; @@ -1130,6 +1132,7 @@ export class DefaultClient implements Client { } else { action = "select compiler"; settings.defaultCompilerPath = util.isCl(paths[index]) ? "cl.exe" : paths[index]; + await this.configuration.updateCompilerPathIfSet(settings.defaultCompilerPath); void vscode.commands.executeCommand('setContext', 'cpptools.trustedCompilerFound', true); } } diff --git a/Extension/src/LanguageServer/configurations.ts b/Extension/src/LanguageServer/configurations.ts index c293f13834..3334a01430 100644 --- a/Extension/src/LanguageServer/configurations.ts +++ b/Extension/src/LanguageServer/configurations.ts @@ -432,7 +432,7 @@ export class CppProperties { private async buildVcpkgIncludePath(): Promise { try { - // Check for vcpkgRoot and include relevent paths if found. + // Check for vcpkgRoot and include relevant paths if found. const vcpkgRoot: string = util.getVcpkgRoot(); if (vcpkgRoot) { const list: string[] = await util.readDir(vcpkgRoot); @@ -624,6 +624,25 @@ export class CppProperties { }, () => { }).catch(logAndReturn.undefined); } + public async updateCompilerPathIfSet(path: string): Promise { + if (!this.propertiesFile) { + // Properties file does not exist. + return; + } + return this.handleConfigurationEditJSONCommand(() => { + this.parsePropertiesFile(); // Clear out any modifications we may have made internally. + const config: Configuration | undefined = this.CurrentConfiguration; + // Update compiler path if it's already set. + if (config && config.compilerPath !== undefined) { + config.compilerPath = path; + this.writeToJson(); + } + // Any time parsePropertiesFile is called, configurationJson gets + // reverted to an unprocessed state and needs to be reprocessed. + this.handleConfigurationChange(); + }, returns.undefined); + } + public async updateCustomConfigurationProvider(providerId: string): Promise { if (!this.propertiesFile) { const settings: CppSettings = new CppSettings(this.rootUri); diff --git a/Extension/src/LanguageServer/cppBuildTaskProvider.ts b/Extension/src/LanguageServer/cppBuildTaskProvider.ts index 992c6e4d6b..b6b2dd6ac3 100644 --- a/Extension/src/LanguageServer/cppBuildTaskProvider.ts +++ b/Extension/src/LanguageServer/cppBuildTaskProvider.ts @@ -31,6 +31,11 @@ export class CppBuildTask extends Task { isDefault?: boolean; } +interface BuildOptions { + taskUsesActiveFile: boolean; + insertStd?: boolean; +} + export class CppBuildTaskProvider implements TaskProvider { static CppBuildScriptType: string = 'cppbuild'; @@ -148,21 +153,25 @@ export class CppBuildTaskProvider implements TaskProvider { } // Create a build task per compiler path - let result: CppBuildTask[] = []; - // Tasks for known compiler paths - if (knownCompilerPaths) { - result = knownCompilerPaths.map(compilerPath => this.getTask(compilerPath, appendSourceToName, undefined)); - } + const result: CppBuildTask[] = []; + // Task for valid user compiler path setting if (isCompilerValid && userCompilerPath) { result.push(this.getTask(userCompilerPath, appendSourceToName, userCompilerPathAndArgs?.allCompilerArgs)); } + + // Tasks for known compiler paths + if (knownCompilerPaths) { + result.push(...knownCompilerPaths.map(compilerPath => this.getTask(compilerPath, appendSourceToName, undefined))); + } + return result; } private getTask: (compilerPath: string, appendSourceToName: boolean, compilerArgs?: string[], definition?: CppBuildTaskDefinition, detail?: string) => Task = (compilerPath: string, appendSourceToName: boolean, compilerArgs?: string[], definition?: CppBuildTaskDefinition, detail?: string) => { const compilerPathBase: string = path.basename(compilerPath); const isCl: boolean = compilerPathBase.toLowerCase() === "cl.exe"; + const isClang: boolean = !isCl && compilerPathBase.toLowerCase().includes("clang"); // Double-quote the command if it is not already double-quoted. let resolvedcompilerPath: string = isCl ? compilerPathBase : compilerPath; if (resolvedcompilerPath && !resolvedcompilerPath.startsWith("\"") && resolvedcompilerPath.includes(" ")) { @@ -174,12 +183,12 @@ export class CppBuildTaskProvider implements TaskProvider { const taskLabel: string = ((appendSourceToName && !compilerPathBase.startsWith(ext.configPrefix)) ? ext.configPrefix : "") + compilerPathBase + " " + localize("build_active_file", "build active file"); const programName: string = util.defaultExePath(); - const isClang: boolean = !isCl && compilerPathBase.toLowerCase().includes("clang"); let args: string[] = isCl ? ['/Zi', '/EHsc', '/nologo', `/Fe${programName}`, '${file}'] : isClang ? ['-fcolor-diagnostics', '-fansi-escape-codes', '-g', '${file}', '-o', programName] : ['-fdiagnostics-color=always', '-g', '${file}', '-o', programName]; + if (compilerArgs && compilerArgs.length > 0) { args = args.concat(compilerArgs); } @@ -202,7 +211,7 @@ export class CppBuildTaskProvider implements TaskProvider { const task: CppBuildTask = new Task(definition, scope, definition.label, ext.CppSourceStr, new CustomExecution(async (resolvedDefinition: TaskDefinition): Promise => // When the task is executed, this callback will run. Here, we setup for running the task. - new CustomBuildTaskTerminal(resolvedcompilerPath, resolvedDefinition.args, resolvedDefinition.options, taskUsesActiveFile) + new CustomBuildTaskTerminal(resolvedcompilerPath, resolvedDefinition.args, resolvedDefinition.options, {taskUsesActiveFile, insertStd: isClang && os.platform() === 'darwin'}) ), isCl ? '$msCompile' : '$gcc'); task.group = TaskGroup.Build; @@ -349,15 +358,20 @@ class CustomBuildTaskTerminal implements Pseudoterminal { public get onDidClose(): Event { return this.closeEmitter.event; } private endOfLine: string = "\r\n"; - constructor(private command: string, private args: string[], private options: cp.ExecOptions | cp.SpawnOptions | undefined, private taskUsesActiveFile: boolean) { + constructor(private command: string, private args: string[], private options: cp.ExecOptions | cp.SpawnOptions | undefined, private buildOptions: BuildOptions) { } async open(_initialDimensions: TerminalDimensions | undefined): Promise { - if (this.taskUsesActiveFile && !util.isCppOrCFile(window.activeTextEditor?.document.uri)) { + if (this.buildOptions.taskUsesActiveFile && !util.isCppOrCFile(window.activeTextEditor?.document.uri)) { this.writeEmitter.fire(localize("cannot.build.non.cpp", 'Cannot build and debug because the active file is not a C or C++ source file.') + this.endOfLine); this.closeEmitter.fire(-1); return; } + + // TODO: Remove when compiler query work goes in and we can determine the standard version from TypeScript + if (this.buildOptions.taskUsesActiveFile && window.activeTextEditor?.document.languageId === 'cpp' && this.buildOptions.insertStd) { + this.args.unshift('-std=gnu++14'); + } telemetry.logLanguageServerEvent("cppBuildTaskStarted"); // At this point we can start using the terminal. this.writeEmitter.fire(localize("starting_build", "Starting build...") + this.endOfLine); diff --git a/Extension/src/LanguageServer/extension.ts b/Extension/src/LanguageServer/extension.ts index 2eea649040..4a01df4c58 100644 --- a/Extension/src/LanguageServer/extension.ts +++ b/Extension/src/LanguageServer/extension.ts @@ -228,6 +228,7 @@ export async function activate(): Promise { ]; codeActionProvider = vscode.languages.registerCodeActionsProvider(selector, { provideCodeActions: async (document: vscode.TextDocument, range: vscode.Range, context: vscode.CodeActionContext): Promise => { + if (!await clients.ActiveClient.getVcpkgEnabled()) { return []; } @@ -237,13 +238,17 @@ export async function activate(): Promise { return []; } + const ports: string[] = await lookupIncludeInVcpkg(document, range.start.line); + if (ports.length <= 0) { + return []; + } + telemetry.logLanguageServerEvent('codeActionsProvided', { "source": "vcpkg" }); if (!await clients.ActiveClient.getVcpkgInstalled()) { return [getVcpkgHelpAction()]; } - const ports: string[] = await lookupIncludeInVcpkg(document, range.start.line); const actions: vscode.CodeAction[] = ports.map(getVcpkgClipboardInstallAction); return actions; } diff --git a/Extension/src/common.ts b/Extension/src/common.ts index 0185324232..d14824a0ad 100644 --- a/Extension/src/common.ts +++ b/Extension/src/common.ts @@ -358,6 +358,9 @@ export function findExePathInArgs(args: string[]): string | undefined { if (exePath?.startsWith("/Fe")) { return exePath.substring(3); } + if (exePath?.toLowerCase().startsWith("/out:")) { + return exePath.substring(5); + } return exePath; } @@ -538,7 +541,7 @@ export function createDirIfNotExistsSync(filePath: string | undefined): void { } const dirPath: string = path.dirname(filePath); if (!checkDirectoryExistsSync(dirPath)) { - fs.mkdirSync(dirPath); + fs.mkdirSync(dirPath, { recursive: true }); } }