Skip to content

v2.2.3

Choose a tag to compare

@ONEGAYI ONEGAYI released this 29 May 10:21
· 21 commits to main since this release

修复 SDE Contact 未定义误报和 Scheme 连字符变量 Hover 失效两个回归问题。

Bug 修复

  • 修复 sdegeo:set-contact 系列 Contact 未定义误报(#80):sdegeo:set-contact、sdegeo:set-contact-edges、sdegeo:set-contact-faces-by-polygon 三个函数的 symbolParams.role 误标为 ref(引用),实际应为 def(定义),导致 region-undef-diagnostic 误报 Contact 未定义。新增 4 个测试覆盖 set-contact 系列的 Contact 定义提取
  • 修复 Scheme 连字符变量(如 fillet-radius-sio2)Hover 失效(#81):HoverProvider 中 Scheme 用户定义查找误用 identWord(纯 [\w]+ 分词),导致连字符变量名被截断无法匹配。此问题由 commit 5616e963 为修复 SDEVICE 符号粘连引入 identWord 时波及 Scheme 分支所致,将 Scheme 分支恢复为 word 完整匹配