Skip to content

v0.3.1 — 代码重构与性能优化

Choose a tag to compare

@NXD-1027 NXD-1027 released this 14 Jun 06:37
· 12 commits to master since this release

🔧 重构

  • 拆分 extension.ts(1253行)和 localTools.ts(847行)为按职责划分的模块
  • 代码统一规范化,补充完善注释

⚡ 性能

  • 诊断刷新加 300ms 防抖,连续打字时触发频率降约 90%
  • 知识库懒加载,不使用 AI 功能时不占内存
  • Freshness 诊断不再遍历所有打开的文档

🐛 修复

  • [core] copyFrom 文件存在性诊断、未保存提示、文件跳转
  • 消除 [turret]/[leg] copyFrom 误报
  • .template 文件正式关联到 Rusted Warfare 语言
  • overrideAndReplace 补全单位引用诊断