feat: 自动修复重构与审查面板交互修复 + 静态分析 AI 翻译配对 + SQLFluff 方言显示
- 自动修复:废弃 AI 修复,改 linter 原生 fix 多轮收敛;CodeAction hover + 面板修复/全部修复 + 快照 diff 撤销;hover 修复不入「已修复」列表、重新审查清空;修复/撤销后自动保存;单条修复只修目标问题(区间重叠收敛,不再连带相邻同规则) - 审查面板:内联 JS 外部化(reviewPanel.js)修复 CSP 屏蔽导致的修复按钮/行号跳转/tab 失效;面板操作不依赖文件焦点(resolveFixDocument);行号跳转定位已打开编辑器,不在面板列新开副本 - 静态分析:translatedDiagnostics 规则 ID 归一化配对 + 深度审查 prompt 强化,静态分析条目显示中文翻译与逐条 AI 建议 - 波浪线:诊断补 source/code,hover 显示快速修复链接 - SQLFluff:设置面板方言徽章(显式/全局/项目/内置来源配色)
This commit is contained in:
+3
-3
@@ -303,10 +303,10 @@
|
||||
"default": true,
|
||||
"description": "启用/禁用 Stylelint 适配器"
|
||||
},
|
||||
"vscode-code-reviewer.fixer.contextLines": {
|
||||
"vscode-code-reviewer.fixer.maxIterations": {
|
||||
"type": "number",
|
||||
"default": 5,
|
||||
"description": "AI 修复时提取的上下文行数"
|
||||
"default": 3,
|
||||
"description": "单条问题自动修复的最大循环轮次"
|
||||
},
|
||||
"vscode-code-reviewer.codelens.enabled": {
|
||||
"type": "boolean",
|
||||
|
||||
Reference in New Issue
Block a user