feat: 适配器 i18n + Provider 动态注册 + SetupView 重构 + jars 资源
- 适配器 i18n 接入(eslint/pmd/sql-lint/stylelint) - Provider 动态注册机制(registry.ts + providers.json + factory 重构) - SetupView 全面重构(setupView.ts 新增 600+ 行) - i18n 消息扩展(messages.ts +210 行) - 规则导入流程优化(import-service / prompt-builder) - 新增 PMD jars 依赖及测试用例
This commit is contained in:
+31
-5
@@ -2,7 +2,7 @@
|
||||
"name": "vscode-code-reviewer",
|
||||
"displayName": "净码特工 · Code Purifier",
|
||||
"description": "AI 驱动的代码审查与规范检查一体化 VSCode 插件",
|
||||
"version": "1.0.1",
|
||||
"version": "1.2.0",
|
||||
"engines": {
|
||||
"vscode": "^1.120.0"
|
||||
},
|
||||
@@ -89,10 +89,6 @@
|
||||
"vscode-code-reviewer.ai.provider": {
|
||||
"type": "string",
|
||||
"default": "deepseek",
|
||||
"enum": [
|
||||
"deepseek",
|
||||
"openai"
|
||||
],
|
||||
"description": "AI 模型提供商"
|
||||
},
|
||||
"vscode-code-reviewer.ai.model": {
|
||||
@@ -222,6 +218,36 @@
|
||||
"default": "",
|
||||
"description": "sqlfluff 配置文件路径"
|
||||
},
|
||||
"vscode-code-reviewer.linters.eslintConfigPath": {
|
||||
"type": "string",
|
||||
"default": "",
|
||||
"description": "ESLint 自定义配置文件路径(绝对路径)。留空则使用项目 .eslintrc 或内置规则"
|
||||
},
|
||||
"vscode-code-reviewer.linters.stylelintConfigPath": {
|
||||
"type": "string",
|
||||
"default": "",
|
||||
"description": "Stylelint 自定义配置文件路径(绝对路径)。留空则使用项目 .stylelintrc 或内置规则"
|
||||
},
|
||||
"vscode-code-reviewer.linter.pmd.enabled": {
|
||||
"type": "boolean",
|
||||
"default": true,
|
||||
"description": "启用/禁用 PMD 适配器"
|
||||
},
|
||||
"vscode-code-reviewer.linter.sql-lint.enabled": {
|
||||
"type": "boolean",
|
||||
"default": true,
|
||||
"description": "启用/禁用 SQL-Lint 适配器"
|
||||
},
|
||||
"vscode-code-reviewer.linter.eslint.enabled": {
|
||||
"type": "boolean",
|
||||
"default": true,
|
||||
"description": "启用/禁用 ESLint 适配器"
|
||||
},
|
||||
"vscode-code-reviewer.linter.stylelint.enabled": {
|
||||
"type": "boolean",
|
||||
"default": true,
|
||||
"description": "启用/禁用 Stylelint 适配器"
|
||||
},
|
||||
"vscode-code-reviewer.fixer.contextLines": {
|
||||
"type": "number",
|
||||
"default": 5,
|
||||
|
||||
Reference in New Issue
Block a user