feat: include `values` inside the attributes when generating `docs-vscode`output target
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 新手友好度
- 42/100
- Issue 类型
- 功能
- 描述清晰度
- 基本清楚
- 活跃度
- 停滞
- 技术栈
- typescript
- 领域
- tooling
调研方向
首先跟踪 docs-vscode 输出目标以及它构建生成的组件 JSON 的方式,重点关注 issue 中显示的 attributes 条目。检查 JSDoc @type 或 @typedef 信息的表示方式,然后验证 primary 和 secondary 等可能值是否出现在生成的 attributes 输出中。
由索引模型根据 Issue 内容生成。
描述
Prerequisites
- I have read the Contributing Guidelines.
- I agree to follow the Code of Conduct.
- I have searched for existing issues that already include this feature request, without success.
Describe the Feature Request
When generating the docs-vscode output target, I am unable to get generate values inside the generated json.
Example output:
{
"name": "evo-card",
"description": {
"kind": "markdown",
"value": "Displays a card with a shadow."
},
"attributes": [
{
"name": "focused",
"description": ""
},
{
"name": "variant",
"description": "The variant of the card."
}
]
}
attributes.values remain empty when trying jsdoc attributes like @type of @typdefs
Describe the Use Case
It would add intellisense of all possible values. Example: primary, secondary,...
Describe Preferred Solution
No response
Describe Alternatives
No response
Related Code
No response
Additional Information
No response
- 主要语言
- TypeScript
- 星标
- 13.2k
- 派生
- 865
- 平均合并
- 2 天 16 小时
- 30 天内合并 PR
- 29
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
stenciljs/core 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 72/100
维护者通常 1 天内回复
-
bug(mock-doc): `Element.toggleAttribute()` is missing, so components that use it fail during SSR未关闭triage
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 1 天内回复
-
Stencil FOUC styles should use @layer to avoid cascade conflicts with React 19可能已有人在做 @johnjenkins 于 230 天前认领。 未关闭Stencil v5
难度 2/5 1-3 小时 新手友好度 68/100
维护者通常 1 天内回复
-
难度 3/5 1-2 天 新手友好度 45/100
stenciljs/core#7016 · 1 个 reaction ·
维护者通常 1 天内回复
-
难度 4/5 3-5 天 新手友好度 22/100
维护者通常 1 天内回复
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 74/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 66/100
open-webui/tether#52 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 72/100
voidzero-dev/void#835 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 72/100
AykutSarac/jsoncrack.com#616 ·
-
难度 2/5 1-3 小时 新手友好度 72/100
melgarafael/DeskcommCRM#4679 ·
维护者通常 1 天内回复