Skip to content

Commit a5f8f84

Browse files
authored
Merge pull request #11303 from microsoft/main
Merge for 1.17.1
2 parents e53b190 + 44e3bbe commit a5f8f84

Some content is hidden

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

64 files changed

+349
-131
lines changed

Extension/.eslintignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,4 @@
22
test/**/index.ts
33
test/**/runTest.ts
44
tools/prepublish.js
5+
vscode*.d.ts

Extension/CHANGELOG.md

Lines changed: 19 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,20 @@
11
# C/C++ for Visual Studio Code Changelog
22

3+
## Version 1.17.1: August 9, 2023
4+
## Bug Fixes
5+
* Fix an issue where the debugger would get stuck while using cl.exe options. [#10231](https://github.com/microsoft/vscode-cpptools/issues/10231)
6+
* Fix C/C++ commands showing in the Command Palette with non-C/C++ files. [#10421](https://github.com/microsoft/vscode-cpptools/issues/10421)
7+
* 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)
8+
* Fix the parameter format of call hierarchy items. [#11247](https://github.com/microsoft/vscode-cpptools/issues/11247)
9+
* Remove the vcpkg code action from the missing includes code action list. [#11252](https://github.com/microsoft/vscode-cpptools/issues/11252)
10+
* 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)
11+
* Fix colorization for macro expansions in macro arguments. [#11256](https://github.com/microsoft/vscode-cpptools/issues/11256)
12+
* Fix a crash for CUDA projects with '>' in the command line. [#11289](https://github.com/microsoft/vscode-cpptools/issues/11289)
13+
* 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)
14+
* 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)
15+
* Fix an issue to allow users to utilize the walkthrough without tasks.json. [PR #11300](https://github.com/microsoft/vscode-cpptools/pull/11300)
16+
* Fix an IPCH issue on Linux due to the Position Independent Executable (PIE) option not being set since 1.17.0.
17+
318
## Version 1.17.0: July 26, 2023
419
### Enhancements
520
* 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 @@
635650
* Add auto-detection of clang compilers on Windows (and different versions of cl.exe). [#6718](https://github.com/microsoft/vscode-cpptools/issues/6718)
636651
* Stop adding .cu files to `files.associations` (switch to using setTextDocumentLanguage). [#7359](https://github.com/microsoft/vscode-cpptools/issues/7359)
637652
* Add "Symbol Options" for CppVsdbg to configure symbol settings [PR #7680](https://github.com/microsoft/vscode-cpptools/pull/7680)
638-
* Update CppVsdbg to use newer CppEE and msdia.
653+
* Update CppVsdbg to use newer CppEE and msdia.
639654

640655
### Bug Fixes
641656
* Fix switch header/source not checking `files.exclude`. [#4429](https://github.com/microsoft/vscode-cpptools/issues/4429)
@@ -681,7 +696,7 @@
681696
* Add `private` or `protected` scope labels to class symbols. [#7120](https://github.com/microsoft/vscode-cpptools/issues/7120)
682697
* Fix file:line path for $FILEPOS [#7193](https://github.com/microsoft/vscode-cpptools/issues/7193)
683698
* [PR MIEngine#1124](https://github.com/microsoft/MIEngine/pull/1124)
684-
* Add `stopAtConnect` and `hardwareBreakpoints` launch options [PR #7449](https://github.com/microsoft/vscode-cpptools/pull/7449)
699+
* Add `stopAtConnect` and `hardwareBreakpoints` launch options [PR #7449](https://github.com/microsoft/vscode-cpptools/pull/7449)
685700
* `stopAtConnect` stops the debugger on connection to a remote target [PR MIEngine#1109](https://github.com/microsoft/MIEngine/pull/1109)
686701
* `hardwareBreakpoints` controls usage and number of remote hardware breakpoints [PR MIEngine#1128](https://github.com/microsoft/MIEngine/pull/1128)
687702
* 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 @@
914929
* YuTengjing (@tjx666) [PR #6344](https://github.com/microsoft/vscode-cpptools/pull/6344)
915930
* 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)
916931
* Restart the IntelliSense process if its memory usage exceeds the `C_Cpp.intelliSenseMemoryLimit` setting. [#6230](https://github.com/microsoft/vscode-cpptools/issues/6230)
917-
* [cppdbg] Stepping out of a function will display '$ReturnValue'.
932+
* [cppdbg] Stepping out of a function will display '$ReturnValue'.
918933
* @Trass3r [PR MIEngine#1036](https://github.com/microsoft/MIEngine/pull/1036)
919934
* [cppdbg] Support composite expressions in natvis ArrayItems
920935
* @Trass3r [PR MIEngine#1044](https://github.com/microsoft/MIEngine/pull/1044)
@@ -1295,7 +1310,7 @@
12951310
* Add a code action for resolving missing includes via the `vcpkg` dependency manager. [PR #3791](https://github.com/microsoft/vscode-cpptools/pull/3791)
12961311

12971312
### Enhancements
1298-
* Added support for compile commands:
1313+
* Added support for compile commands:
12991314
* `-iquote`. [#2088](https://github.com/microsoft/vscode-cpptools/issues/2088)
13001315
* `-imacros`. [#2417](https://github.com/microsoft/vscode-cpptools/issues/2417)
13011316
* `-idirafter`(`--include-directory-after` & `--include-directory-after=`). [#3713](https://github.com/microsoft/vscode-cpptools/issues/3713)

Extension/i18n/chs/package.i18n.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -247,6 +247,10 @@
247247
"c_cpp.configuration.caseSensitiveFileSupport.markdownDescription": "如果设置为 `default`,则假定工作区的文件系统在 Windows 上不区分大小写,在 macOS 或 Linux 上区分大小写。如果设置为 `enabled`,则假定工作区的文件系统在 Windows 上区分大小写。",
248248
"c_cpp.configuration.enhancedColorization.markdownDescription": "如果启用,则根据 IntelliSense 对代码进行着色。仅当 `#C_Cpp.intelliSenseEngine#` 设置为 `default` 时,此设置才适用。",
249249
"c_cpp.configuration.codeFolding.description": "如果启用,则由语言服务器提供代码折叠范围。",
250+
"c_cpp.configuration.markdownInComments.description": "选择 Markdown 是否在悬停工具提示中可用。默认情况下,仅一部分 markdown 将应用于悬停工具提示中的注释。",
251+
"c_cpp.configuration.markdownInComments.subsetEnabled.description": "启用悬停工具提示中的所有 Markdown 功能,但包含“_”和“*”字符的功能除外。",
252+
"c_cpp.configuration.markdownInComments.enabled.description": "在悬停工具提示中启用所有 Markdown 功能。",
253+
"c_cpp.configuration.markdownInComments.disabled.description": "禁用悬停工具提示中的所有 Markdown 功能。",
250254
"c_cpp.configuration.hover.description": "如果禁用,则语言服务器不再提供悬停详细信息。",
251255
"c_cpp.configuration.vcpkg.enabled.markdownDescription": "为 [vcpkg 依存关系管理器](https://aka.ms/vcpkg/) 启用集成服务。",
252256
"c_cpp.configuration.addNodeAddonIncludePaths.markdownDescription": "当来自 `nan` 和 `node-addon-api` 的包含路径为依赖项时,请将其添加。",

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@
44
*--------------------------------------------------------------------------------------------*/
55
// Do not edit this file. It is machine generated.
66
{
7-
"unable.to.start": "无法启动 C/C++ 语言服务器。IntelliSense 功能将被禁用。错误: {0}",
8-
"check.permissions": "EPERM: 检查“{0}”的权限",
97
"select.compiler": "选择要为 IntelliSense 配置的编译器",
108
"configure.intelliSense.forFolder": "你希望如何为“{0}”文件夹配置 IntelliSense?",
119
"configure.intelliSense.thisFolder": "你希望如何为此文件夹配置 IntelliSense?",
@@ -23,6 +21,8 @@
2321
"selectCompiler.string": "选择编译器",
2422
"confirmCompiler.string": "",
2523
"selectCompiler.message": "已找到编译器 {0}。是否要使用此编译器配置 IntelliSense?",
24+
"check.permissions": "EPERM: 检查“{0}”的权限",
25+
"unable.to.start": "无法启动 C/C++ 语言服务器。IntelliSense 功能将被禁用。错误: {0}",
2626
"server.crashed.restart": "语言服务器崩溃。正在重新启动...",
2727
"server.crashed2": "在过去 3 分钟内,语言服务器崩溃了 5 次。它不会重新启动。",
2828
"loggingLevel.changed": "{0} 已更改为: {1}",

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,5 @@
1111
"configuration.select.first": "首先打开一个文件夹以选择配置。",
1212
"configuration.provider.select.first": "首先打开一个文件夹以选择配置提供程序。",
1313
"edit.configurations.open.first": "首先打开一个文件夹以编辑配置",
14-
"code.action.aborted": "无法应用代码分析修复程序,因为文档已更改。",
15-
"add.includepath.open.first": "首先打开一个要添加到 {0} 的文件夹"
14+
"code.action.aborted": "无法应用代码分析修复程序,因为文档已更改。"
1615
}

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,6 @@
2020
"mode.analysis.prefix": "Code Analysis 模式:",
2121
"c.cpp.configureIntelliSenseStatus.text": "配置 IntelliSense",
2222
"c.cpp.configureIntelliSenseStatus.cppText": "C/C++ 配置 IntelliSense",
23-
"select.command": "选择命令...",
24-
"select.code.analysis.command": "选择代码分析命令...",
2523
"c.cpp.configuration.tooltip": "C/C++ 配置",
2624
"c.cpp.references.statusbar": "C/C++ 引用状态",
2725
"cpptools.status.intellisense": "C/C++ IntelliSense 状态",
@@ -49,6 +47,8 @@
4947
"disable.configuration.provider": "禁用活动配置提供程序(如果适用)。",
5048
"select.compile.commands": "选择 compile_commands.json...",
5149
"select.workspace": "选择工作区文件夹…",
50+
"select.command": "选择命令...",
51+
"select.code.analysis.command": "选择代码分析命令...",
5252
"resume.parsing": "恢复工作区分析",
5353
"pause.parsing": "暂停工作区分析",
5454
"cancel.analysis": "取消",

Extension/i18n/cht/package.i18n.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -247,6 +247,10 @@
247247
"c_cpp.configuration.caseSensitiveFileSupport.markdownDescription": "如果設定為 `default`,則工作區的檔案系統會在 Windows 上假設為不區分大小寫,而在 macOS 或 Linux 上區分大小寫。如果設為 `enabled`,則工作區的檔案系統在 Windows 上會假設為區分大小寫。",
248248
"c_cpp.configuration.enhancedColorization.markdownDescription": "若啟用,將會依據 IntelliSense 顯示彩色的程式碼。僅當 `#C_Cpp.intelliSenseEngine#` 設為 `default` 時,才適用此設定。",
249249
"c_cpp.configuration.codeFolding.description": "若啟用,則由語言伺服器提供程式碼摺疊功能範圍。",
250+
"c_cpp.configuration.markdownInComments.description": "選取是否可在暫留工具提示中使用 Markdown。根據預設,只會將 Markdown 子集套用至暫留工具提示中的註解。",
251+
"c_cpp.configuration.markdownInComments.subsetEnabled.description": "啟用暫留工具提示中的所有 Markdown 功能,但包含 '_' 和 '*' 字元的功能除外。",
252+
"c_cpp.configuration.markdownInComments.enabled.description": "啟用暫留工具提示中的所有 Markdown 功能。",
253+
"c_cpp.configuration.markdownInComments.disabled.description": "停用暫留工具提示中的所有 Markdown 功能。",
250254
"c_cpp.configuration.hover.description": "如果停用,語言伺服器將不再提供暫留詳細資料。",
251255
"c_cpp.configuration.vcpkg.enabled.markdownDescription": "啟用 [vcpkg 相依性管理員](https://aka.ms/vcpkg/) 的整合服務。",
252256
"c_cpp.configuration.addNodeAddonIncludePaths.markdownDescription": "當 `nan` 和 `node-addon-api` 為相依性時,從中新增 include 路徑。",

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,9 @@
44
*--------------------------------------------------------------------------------------------*/
55
// Do not edit this file. It is machine generated.
66
{
7-
"unable.to.start": "無法啟動 C/C + + 語言伺服器。將停用 IntelliSense 功能。錯誤: {0}",
8-
"check.permissions": "EPERM: 檢查 '{0}' 的權限",
97
"select.compiler": "選取要設定 IntelliSense 的編譯器",
108
"configure.intelliSense.forFolder": "想如何為 '{0}' 資料夾設定 IntelliSense。",
11-
"configure.intelliSense.thisFolder": "想如何為此資料夾設定 IntelliSense",
9+
"configure.intelliSense.thisFolder": "要如何為此資料夾設定 IntelliSense?",
1210
"found.string": "在 {0} 找到",
1311
"use.compiler": "使用 {0}",
1412
"configuration.providers": "設定提供者",
@@ -23,6 +21,8 @@
2321
"selectCompiler.string": "選取編譯器",
2422
"confirmCompiler.string": "",
2523
"selectCompiler.message": "找到編譯器 {0}。您要使用此編譯器來設定 IntelliSense 嗎?",
24+
"check.permissions": "EPERM: 檢查 '{0}' 的權限",
25+
"unable.to.start": "無法啟動 C/C + + 語言伺服器。將停用 IntelliSense 功能。錯誤: {0}",
2626
"server.crashed.restart": "語言伺服器當機。正在重新啟動...",
2727
"server.crashed2": "語言伺服器在過去 3 分鐘內發生 5 次故障。將不會重新啟動。",
2828
"loggingLevel.changed": "{0} 已變更為: {1}",

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,5 @@
1111
"configuration.select.first": "先開啟資料夾以選取設定。",
1212
"configuration.provider.select.first": "先開啟資料夾以選取設定提供者。",
1313
"edit.configurations.open.first": "先開啟資料夾以編輯組態",
14-
"code.action.aborted": "無法套用程式碼分析修正,因為文件已變更。",
15-
"add.includepath.open.first": "先開啟資料夾以新增至 {0}"
14+
"code.action.aborted": "無法套用程式碼分析修正,因為文件已變更。"
1615
}

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,6 @@
2020
"mode.analysis.prefix": "Code Analysis 模式: ",
2121
"c.cpp.configureIntelliSenseStatus.text": "設定 IntelliSense",
2222
"c.cpp.configureIntelliSenseStatus.cppText": "C/C++ 設定 IntelliSense",
23-
"select.command": "選取命令...",
24-
"select.code.analysis.command": "選取程式碼分析命令...",
2523
"c.cpp.configuration.tooltip": "C/C++ 組態",
2624
"c.cpp.references.statusbar": "C/C++ 參考狀態",
2725
"cpptools.status.intellisense": "C/C++ IntelliSense 狀態",
@@ -49,6 +47,8 @@
4947
"disable.configuration.provider": "如果適用,停用現有組態提供者。",
5048
"select.compile.commands": "選取 compile_commands.json...",
5149
"select.workspace": "選取工作區資料夾...",
50+
"select.command": "選取命令...",
51+
"select.code.analysis.command": "選取程式碼分析命令...",
5252
"resume.parsing": "繼續工作區剖析",
5353
"pause.parsing": "暫停工作區剖析",
5454
"cancel.analysis": "取消",

0 commit comments

Comments
 (0)