✨ feat(vscode): 代码阅读加异常卡片,Python、TypeScript 的异常类画成同一张表(属性、构造参数),方法照常是子块

This commit is contained in:
cruldra committed 2026-09-27 10:42:10 +08:00
1 parent d5a092dd6f
commit 0afd012c94
21 files changed
+1118 -66

No files matched your search

+1
View File
@@ -27,6 +27,7 @@ function factAttributes(block: CodeBlock): Partial<Record<CommonAttribute, strin
case 'class':
return { access: block.facts.access, abstract: flag(block.facts.abstract) }
case 'enum':
case 'exception':
case 'const':
case 'variable':
return { access: block.facts.access }