-
Notifications
You must be signed in to change notification settings - Fork 36
Expand file tree
/
Copy pathpackage.nls.zh-cn.json
More file actions
1 lines (1 loc) · 3.77 KB
/
package.nls.zh-cn.json
File metadata and controls
1 lines (1 loc) · 3.77 KB
1
{"command.restartServer": "重启服务器", "extension.description": "使用 Pylint 对 Python 文件提供 Lint 分析支持。", "settings.args.description": "为 Lint 分析 Python 文件传递给 Pylint 的参数。应在数组中将每个参数作为单独的字符串提供。\n示例:\n- `\"pylint.args\": [\"--rcfile=<file>\"]`\n- `\"pylint.args\": [\"--disable=C0111\", \"--max-line-length=120\"]`", "settings.cwd.description": "设置用于使用 Pylint 对 Python 文件进行 lint 分析的当前工作目录。默认情况下,它使用工作区 `${workspaceFolder}` 的根目录。可以将其设置为 `${fileDirname}`,以使用作为 Pylint 工作目录的 lint 分析文件的父文件夹。", "settings.enabled.description": "使用 Pylint 启用/禁用 Lint 分析 Python 文件。", "settings.ignorePatterns.description": "根据 fnmatch Python 库的支持配置 [glob 模式](https://docs.python.org/3/library/fnmatch.html),以便在使用 Pylint 进行代码检查时排除文件或文件夹。", "settings.importStrategy.description": "定义要用于 lint Python 文件的 Pylint 二进制文件。当设置为“useBundled”时,扩展将使用随附于扩展的 Pylint 二进制文件。当设置为“fromEnvironment”时,扩展将尝试使用 Pylint 二进制文件和当前所选环境中可用的所有依赖项。注意:如果扩展在所选环境中找不到有效的 Pylint 二进制文件,它将回退到使用随附于扩展的 Pylint 二进制文件。当此设置设为“fromEnvironment”时,也可能忽略“pylint.path”设置。", "settings.importStrategy.fromEnvironment.description": "使用所选环境中的 Pylint。如果扩展找不到有效的 Pylint 二进制文件,它将回退到使用捆绑版 Pylint。", "settings.importStrategy.useBundled.description": "始终使用随附于扩展的捆绑版 Pylint。", "settings.interpreter.description": "Python 可执行文件或将用于启动 Pylint 服务器和任何子进程的命令的路径。接受单个或多个字符串的数组。设置为“[]”时,扩展将使用所选 Python 解释器的路径。如果传递命令,则应在数组中将每个参数作为单独的字符串提供。", "settings.lintOnChange.description": "键入时启用带 Pylint 的 Lint 分析 Python 文件。", "settings.path.description": "由扩展用于带 Pylint 的 Lint Python 文件的路径或命令。接受单个或多个字符串的数组。如果传递命令,则应在数组中将每个参数作为单独的字符串提供。如果设置为 `[\"pylint\"]`,它将使用 `PATH` 环境变量中可用的 Pylint 版本。注意:使用此选项可能会减慢 Lint 分析。\n示例:\n- `[\"~/global_env/pylint\"]`\n- `[\"conda\", \"run\", \"-n\", \"lint_env\", \"python\", \"-m\", \"pylint\"]`\n`[\"pylint\"]`", "settings.severity.description": "将 Pylint 的消息类型映射到 VS Code 的诊断严重性级别,如“问题”窗口中所示。你还可以使用它来替代特定的 Pylint 错误代码。\n示例:</br> `{\"convention\": \"Information\", \"error\": \"Error\", \"fatal\": \"Error\", \"refactor\": \"Hint\", \"warning\": \"Warning\", \"W0611\": \"Error\", \"undefined-variable\": \"Warning\"}`", "settings.showNotifications.always.description": "显示所有通知。", "settings.showNotifications.description": "控制此扩展显示通知的时间。接受的值为“onError”、“onWarning”、“always”和“off”。", "settings.showNotifications.off.description": "从不显示通知。任何错误或警告在日志中仍然可用。", "settings.showNotifications.onError.description": "显示错误通知。", "settings.showNotifications.onWarning.description": "显示错误和警告通知。", "settings.showScoreInStatusBar.description": "在 VS Code 状态栏中显示 Pylint 评分。"}