✨ feat(vscode): 代码阅读把说明里的 @param / @return / @throws 拆到参数表、输出、异常表
This commit is contained in:
1 parent
c2982537d7
commit
0958506681
43 files changed
+1300
-323
No files matched your search
@@ -116,7 +116,7 @@ function referencesInText(pieces: readonly Inline[]): Segment[] {
|
||||
}
|
||||
|
||||
function referencesInItems(items: readonly PropertyItem[] | undefined): Segment[] {
|
||||
return (items ?? []).flatMap(item => [...item.cells.flatMap(referencesInText), ...referencesInItems(item.items)])
|
||||
return (items ?? []).flatMap(item => [...item.cells.flatMap(cell => 'markdown' in cell ? [] : referencesInText(cell)), ...referencesInItems(item.items)])
|
||||
}
|
||||
|
||||
/** 属性表里(值、各层子行的格子)带引用的段。 */
|
||||
|
||||
Reference in new issue
Block a user