Tapd Opener
在 VS Code 中通过 Cmd + 点击 story/bug 的 ID,自动用浏览器打开对应 TAPD 单。
功能
- 识别
git-commit 文档与 plaintext 文本中的 story/bug ID,并生成可点击链接
- 支持 tapd commit message 标准格式
--story=128488163 & --bug=149561048
- 兼容如下格式
story id: 123456 & 需求: 123456 & SID 123456 & bug id: 234567 & 缺陷: 234567 & BID 234567
- 识别集成终端中的
git log 输出,支持点击打开
- 默认使用
http://tapd.woa.com/r/t?id={id}&type=story|bug,可配置模板
- 首次激活自动信任
tapd.woa.com,免外链确认提示(可关闭)
配置项
tapd.storyUrlTemplate(字符串,默认 http://tapd.woa.com/r/t?id={id}&type=story)
tapd.bugUrlTemplate(字符串,默认 http://tapd.woa.com/r/t?id={id}&type=bug)
tapd.autoTrustDomain(布尔,默认 true):自动把 tapd.woa.com 加入 workbench.trustedDomains
常见问题
- 外链确认弹窗:已自动信任域名,默认不再提示;可通过设置关闭自动信任
- Node 18 下打包报
undici 错误:升级到 Node 20 后正常
- VSIX 体积:通过
.vscodeignore 排除 src/ 与依赖,仅保留 out/ 与必要清单
| |