feat: 新增 PATH 智能分析功能 — 冲突检测 + 工具清单
CI / 前端检查 (TypeScript + Lint + Test) (push) Has been cancelled
CI / Rust 检查 (Check + Clippy + Test) (push) Has been cancelled

- scan_conflicts: 检测不同目录中的同名可执行文件(遮蔽冲突)
- scan_tools: 扫描各目录提供的可执行文件,支持关键词搜索
- Rust scanner.rs 后端,前端 AnalyzeDialog 弹窗
- 工具栏新增「分析」按钮

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
2026-05-28 10:02:12 +08:00
parent 49ef9c0cff
commit 7869886670
9 changed files with 372 additions and 4 deletions
+13
View File
@@ -21,6 +21,7 @@
"save": "OK",
"cancel": "Cancel",
"help": "Help",
"analyze": "Analyze",
"undo": "Undo",
"redo": "Redo",
"darkMode": "Dark Mode",
@@ -70,6 +71,18 @@
"cancel": "Cancel",
"search": "Search paths..."
},
"analyze": {
"title": "PATH Analysis",
"conflicts": "Conflicts",
"tools": "Tools",
"scanning": "Scanning...",
"noConflicts": "No executable conflicts found",
"noTools": "No matching executables found",
"priority": "Prioritized",
"shadowed": "Shadowed",
"searchPlaceholder": "Search executable name...",
"conflictCount": "{{count}} file conflict(s) found"
},
"help": {
"content": "PathEditor v4.0 — Windows System Environment Variable (PATH) Editor\n\nFeatures:\n• Create/Edit/Delete path entries\n• Move Up/Down to adjust priority\n• One-click cleanup of invalid & duplicate paths\n• Import/Export JSON, CSV, TXT formats\n• Full Undo/Redo support\n\nShortcuts:\n• Ctrl+N New\n• Ctrl+S Save\n• Ctrl+Z Undo\n• Ctrl+Y Redo\n• Ctrl+F Search\n• Delete Delete selected\n• F1 Help\n\nAuthor: 刘航宇\nGitHub: https://github.com/LHY0125/PathEditor"
}