|
74 | 74 | "cmake-tools.command.cmake.launchTarget.title": "运行但不调试", |
75 | 75 | "cmake-tools.command.cmake.launchTargetAll.title": "运行所有项目但不调试", |
76 | 76 | "cmake-tools.command.cmake.selectLaunchTarget.title": "设置启动/调试目标", |
| 77 | + "cmake-tools.command.cmake.selectBuildAndLaunchTarget.title": "Set Build and Launch/Debug Target", |
77 | 78 | "cmake-tools.command.cmake.stop.title": "取消生成", |
78 | 79 | "cmake-tools.command.cmake.stopAll.title": "取消所有项目的生成", |
79 | 80 | "cmake-tools.command.cmake.resetState.title": "重置 CMake Tools 扩展状态(用于故障排除)", |
|
105 | 106 | "cmake-tools.configuration.cmake.generator.description": "要使用的 CMake 生成器。", |
106 | 107 | "cmake-tools.configuration.cmake.toolset.description": "要在配置时使用的 CMake 工具集。", |
107 | 108 | "cmake-tools.configuration.cmake.platform.description": "要在配置时使用的 CMake 平台。", |
| 109 | + "cmake-tools.configuration.cmake.shell.description": "Path to a shell executable to use when running CMake, CTest, and CPack commands (e.g., Git Bash or MSYS2). When set, all subprocess invocations are routed through this shell. Useful for embedded toolchains that require POSIX path translation. When null, the default system shell behavior is used.", |
108 | 110 | "cmake-tools.configuration.cmake.configureArgs.description": "要在配置时传递给 CMake 的其他参数。使用 CMake 预设时,这些参数会临时追加到活动配置预设提供的参数中。", |
109 | 111 | "cmake-tools.configuration.cmake.buildArgs.description": "要在生成时传递给 CMake 的其他参数。使用 CMake 预设时,这些参数会临时追加到活动生成预设提供的参数中。", |
110 | 112 | "cmake-tools.configuration.cmake.buildToolArgs.description": "要在生成时传递给基础生成工具的其他参数。使用 CMake 预设时,这些参数会临时追加到活动生成预设提供的参数,以调用生成工具。", |
|
124 | 126 | "cmake-tools.configuration.cmake.ctest.failurePatterns.actual": "实际测试输出的匹配组索引。默认为“未定义”。", |
125 | 127 | "cmake-tools.configuration.cmake.ctest.failurePatterns.expected": "预期测试输出的匹配组索引。默认为“未定义”。", |
126 | 128 | "cmake-tools.configuration.cmake.ctest.debugLaunchTarget.description": "在使用 CTest 调试测试时,从 launch.json 中获取目标名称以启动。默认情况下,如果目标不存在,将显示一个包含所有有空目标的选取器。", |
| 129 | + "cmake-tools.configuration.cmake.ctest.neverDebugTestsWithLaunchConfiguration.description": "When set to true, always debug tests without a launch configuration, bypassing the quick pick menu. Default is false.", |
127 | 130 | "cmake-tools.configuration.cmake.parseBuildDiagnostics.description": "分析编译器输出以查找警告和错误。", |
128 | 131 | "cmake-tools.configuration.cmake.enabledOutputParsers.description": "要使用的输出分析程序。支持的分析程序 `cmake`、`gcc`、`gnuld`(适用于 GNULD 样式的链接器输出)、`msvc`(适用于 Microsoft Visual C++)、`ghs`(适用于 Green Hills 编译器,具有 --no_wrap_diagnostics --brief_diagnostics),`diab`(适用于 Wind River Diab 编译器)以及 `iwyu`(适用于 include-what-you-use 诊断)。", |
| 132 | + "cmake-tools.configuration.cmake.additionalBuildProblemMatchers.markdownDescription": "Additional problem matchers for build output. Use this to surface diagnostics from tools like clang-tidy, PCLint Plus, cppcheck, or custom scripts integrated via `add_custom_command`/`add_custom_target` in CMake.\r\n\r\nEach entry defines a `name` (used as the diagnostic source label), a `regexp`, and capture group indices for `file`, `line`, `column`, `severity`, `message`, and `code`.\r\n\r\nFor example, to match clang-tidy output like `/path/file.cpp:10:5: warning: some message [check-name]`:\r\n```json\r\n[\r\n {\r\n \"name\": \"clang-tidy\",\r\n \"regexp\": \"^(.+?):(\\\\d+):(\\\\d+):\\\\s+(warning|error|note):\\\\s+(.+?)\\\\s*(?:\\\\[(.+)\\\\])?$\",\r\n \"file\": 1,\r\n \"line\": 2,\r\n \"column\": 3,\r\n \"severity\": 4,\r\n \"message\": 5,\r\n \"code\": 6\r\n }\r\n]\r\n```\r\n\r\nCustom matchers run **after** the built-in parsers (`gcc`, `msvc`, etc.) so they do not steal lines from built-in compilers.", |
| 133 | + "cmake-tools.configuration.cmake.additionalBuildProblemMatchers.name": "A unique name for this matcher, used as the diagnostic source label in the Problems pane.", |
| 134 | + "cmake-tools.configuration.cmake.additionalBuildProblemMatchers.regexp": "The regular expression to match against each build output line.", |
| 135 | + "cmake-tools.configuration.cmake.additionalBuildProblemMatchers.file": "The capture group index for the file path. Defaults to `1`.", |
| 136 | + "cmake-tools.configuration.cmake.additionalBuildProblemMatchers.line": "The capture group index for the line number. Defaults to `2`.", |
| 137 | + "cmake-tools.configuration.cmake.additionalBuildProblemMatchers.column": "The capture group index for the column number. Optional.", |
| 138 | + "cmake-tools.configuration.cmake.additionalBuildProblemMatchers.severity.group": "The capture group index for the severity (should capture 'error', 'warning', or 'info').", |
| 139 | + "cmake-tools.configuration.cmake.additionalBuildProblemMatchers.severity.fixed": "A fixed severity to apply to all matches from this pattern.", |
| 140 | + "cmake-tools.configuration.cmake.additionalBuildProblemMatchers.message": "The capture group index for the diagnostic message. Defaults to `3`.", |
| 141 | + "cmake-tools.configuration.cmake.additionalBuildProblemMatchers.code": "The capture group index for an optional diagnostic code.", |
129 | 142 | "cmake-tools.configuration.cmake.debugConfig.description": "要在调试目标时使用的调试配置。", |
130 | 143 | "cmake-tools.configuration.cmake.debugConfig.symbolSearchPath.description": "Visual Studio 调试程序符号搜索路径。", |
131 | 144 | "cmake-tools.configuration.cmake.debugConfig.additionalSOLibSearchPath.description": "用于搜索 .so 文件的 GDB 或 LLDB 的路径。", |
|
231 | 244 | "cmake-tools.configuration.cmake.postRunCoverageTarget.description": "使用测试资源管理器运行覆盖率测试之后要生成的目标", |
232 | 245 | "cmake-tools.configuration.cmake.coverageInfoFiles.description": "使用测试资源管理器运行覆盖率测试后要处理的 LCOV 覆盖率信息文件。", |
233 | 246 | "cmake-tools.configuration.cmake.useFolderPropertyInBuildTargetDropdown.description": "控制默认生成目标下拉列表是否按 CMake 文件夹组分组。", |
| 247 | + "cmake-tools.configuration.cmake.setBuildTargetSameAsLaunchTarget.description": "When enabled, setting the launch/debug target automatically sets the build target to match. The build target can still be changed independently.", |
234 | 248 | "cmake-tools.debugger.pipeName.description": "用于调试器通信的管道(在 Windows 上)或域套接字(在 Unix 上)的名称。", |
235 | 249 | "cmake-tools.debugger.clean.description": "在配置之前清理。", |
236 | 250 | "cmake-tools.debugger.configureAll.description": "为所有项目配置。", |
|
0 commit comments