|
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 | + "cmake-tools.command.cmake.selectBuildAndLaunchTarget.title": "设置生成和启动/调试目标", |
78 | 78 | "cmake-tools.command.cmake.stop.title": "取消生成", |
79 | 79 | "cmake-tools.command.cmake.stopAll.title": "取消所有项目的生成", |
80 | 80 | "cmake-tools.command.cmake.resetState.title": "重置 CMake Tools 扩展状态(用于故障排除)", |
|
106 | 106 | "cmake-tools.configuration.cmake.generator.description": "要使用的 CMake 生成器。", |
107 | 107 | "cmake-tools.configuration.cmake.toolset.description": "要在配置时使用的 CMake 工具集。", |
108 | 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.", |
| 109 | + "cmake-tools.configuration.cmake.shell.description": "运行 CMake、CTest 和 CPack 命令时使用的 shell 可执行文件路径(例如 Git Bash 或 MSYS2)。设置后,所有子进程调用都将通过此 shell 进行。适用于需要 POSIX 路径转换的嵌入式工具链。为 null 时,使用默认的系统 shell 行为。", |
110 | 110 | "cmake-tools.configuration.cmake.configureArgs.description": "要在配置时传递给 CMake 的其他参数。使用 CMake 预设时,这些参数会临时追加到活动配置预设提供的参数中。", |
111 | 111 | "cmake-tools.configuration.cmake.buildArgs.description": "要在生成时传递给 CMake 的其他参数。使用 CMake 预设时,这些参数会临时追加到活动生成预设提供的参数中。", |
112 | 112 | "cmake-tools.configuration.cmake.buildToolArgs.description": "要在生成时传递给基础生成工具的其他参数。使用 CMake 预设时,这些参数会临时追加到活动生成预设提供的参数,以调用生成工具。", |
|
126 | 126 | "cmake-tools.configuration.cmake.ctest.failurePatterns.actual": "实际测试输出的匹配组索引。默认为“未定义”。", |
127 | 127 | "cmake-tools.configuration.cmake.ctest.failurePatterns.expected": "预期测试输出的匹配组索引。默认为“未定义”。", |
128 | 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.", |
| 129 | + "cmake-tools.configuration.cmake.ctest.neverDebugTestsWithLaunchConfiguration.description": "设置为 true 时,始终无启动配置调试测试,跳过快速选择菜单。默认值为 false。", |
130 | 130 | "cmake-tools.configuration.cmake.parseBuildDiagnostics.description": "分析编译器输出以查找警告和错误。", |
131 | 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.", |
| 132 | + "cmake-tools.configuration.cmake.additionalBuildProblemMatchers.markdownDescription": "生成输出的其他问题匹配器。使用此选项可显示来自 clang-tidy、PCLint Plus、cppcheck 等工具的诊断信息,或通过 CMake 中的 `add_custom_command`/`add_custom_target` 集成的自定义脚本的诊断信息。\n\n每个条目定义一个 `name` (用作诊断源标签)、一个 `regexp`,以及 `file`、`line`、`column`、`severity`、`message` 和 `code` 的捕获组索引。\n\n例如,要匹配类似于 `/path/file.cpp:10:5: warning: some message [check-name]` 的 clang-tidy 输出:\n```json\n[\n {\n \"name\": \"clang-tidy\",\n \"regexp\": \"^(.+?):(\\\\d+):(\\\\d+):\\\\s+(warning|error|note):\\\\s+(.+?)\\\\s*(?:\\\\[(.+)\\\\])?$\",\n \"file\": 1,\n \"line\": 2,\n \"column\": 3,\n \"severity\": 4,\n \"message\": 5,\n \"code\": 6\n }\n]\n```\n\n自定义匹配器在内置解析器(`gcc`、`msvc` 等)之后运行,因此不会从内置编译器中抢占行。", |
| 133 | + "cmake-tools.configuration.cmake.additionalBuildProblemMatchers.name": "此匹配器的唯一名称,用作“问题”窗格中的诊断源标签。", |
| 134 | + "cmake-tools.configuration.cmake.additionalBuildProblemMatchers.regexp": "用于匹配每个生成输出行的正则表达式。", |
| 135 | + "cmake-tools.configuration.cmake.additionalBuildProblemMatchers.file": "文件路径的捕获组索引。默认为 `1`。", |
| 136 | + "cmake-tools.configuration.cmake.additionalBuildProblemMatchers.line": "行号的捕获组索引。默认为 `2`。", |
| 137 | + "cmake-tools.configuration.cmake.additionalBuildProblemMatchers.column": "列号的捕获组索引。可选。", |
| 138 | + "cmake-tools.configuration.cmake.additionalBuildProblemMatchers.severity.group": "严重性的捕获组索引(应捕获 \"error\"、\"warning\" 或 \"info\")。", |
| 139 | + "cmake-tools.configuration.cmake.additionalBuildProblemMatchers.severity.fixed": "应用于此模式所有匹配项的固定严重性。", |
| 140 | + "cmake-tools.configuration.cmake.additionalBuildProblemMatchers.message": "诊断消息的捕获组索引。默认为 `3`。", |
| 141 | + "cmake-tools.configuration.cmake.additionalBuildProblemMatchers.code": "可选诊断代码的捕获组索引。", |
142 | 142 | "cmake-tools.configuration.cmake.debugConfig.description": "要在调试目标时使用的调试配置。", |
143 | 143 | "cmake-tools.configuration.cmake.debugConfig.symbolSearchPath.description": "Visual Studio 调试程序符号搜索路径。", |
144 | 144 | "cmake-tools.configuration.cmake.debugConfig.additionalSOLibSearchPath.description": "用于搜索 .so 文件的 GDB 或 LLDB 的路径。", |
|
244 | 244 | "cmake-tools.configuration.cmake.postRunCoverageTarget.description": "使用测试资源管理器运行覆盖率测试之后要生成的目标", |
245 | 245 | "cmake-tools.configuration.cmake.coverageInfoFiles.description": "使用测试资源管理器运行覆盖率测试后要处理的 LCOV 覆盖率信息文件。", |
246 | 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.", |
| 247 | + "cmake-tools.configuration.cmake.setBuildTargetSameAsLaunchTarget.description": "启用后,设置启动/调试目标会自动设置要匹配的生成目标。仍可单独更改生成目标。", |
248 | 248 | "cmake-tools.debugger.pipeName.description": "用于调试器通信的管道(在 Windows 上)或域套接字(在 Unix 上)的名称。", |
249 | 249 | "cmake-tools.debugger.clean.description": "在配置之前清理。", |
250 | 250 | "cmake-tools.debugger.configureAll.description": "为所有项目配置。", |
|
0 commit comments