Export Document Renders Nothing
还没有人认领这个 Issue。
评估
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 新手友好度
- 45/100
- Issue 类型
- 缺陷
- 描述清晰度
- 描述清楚
- 活跃度
- 停滞
- 技术栈
- lua
- 领域
- cli, documentation
调研方向
先从 script/cli/doc.lua 中第 287 行附近的 collectConfig 以及 script/cli/doc.lua 中的导出路径开始,然后跟踪 script/core/command/exportDocument.lua:11。使用 LuaJIT 重现文档中记录的命令序列,并利用堆栈跟踪检查导出为何没有生成文件。当选定文件夹收到 markdown 输出,或扩展报告明确的配置错误时,即表示完成。
由索引模型根据 Issue 内容生成。
描述
Which OS are you using?
Linux
Expected Behaviour
"Lua: Export Document" -> Should generate markdown files after choosing the output folder.
Actual Behaviour
Nothing renders
Reproduction steps
- Open a lua file
- press
ctl + shift + p - select "Lua: Export Document"
- choose a folder
no output generated.
Additional Notes
- This may be user error, if so, no notification provided by the extension.
- I'm using LuaJIT as the interpreter.
Log
script/cli/doc.lua:287: bad argument #1 to 'path' (bee::path expected, got nil)
stack traceback:
[C]: in function 'bee.filesystem.path'
script/cli/doc.lua:287: in upvalue 'collectConfig'
script/cli/doc.lua:300: in function 'cli.doc.export'
script/cli/doc.lua:354: in function 'cli.doc.makeDoc'
script/core/command/exportDocument.lua:11: in function 'core.command.exportDocument'
script/provider/provider.lua:984: in function <script/provider/provider.lua:962>
[C]: in function 'xpcall'
script/proto/proto.lua:200: in function <script/proto/proto.lua:175>
- 主要语言
- TypeScript
- 星标
- 216
- 派生
- 63
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
LuaLS/vscode-lua 的其他 Issue
-
难度 4/5 3-5 天 新手友好度 48/100
LuaLS/vscode-lua#189 ·
-
难度 5/5 一周以上 新手友好度 42/100
LuaLS/vscode-lua#186 ·
-
难度 3/5 1-2 天 新手友好度 35/100
LuaLS/vscode-lua#175 ·
-
难度 2/5 1-3 小时 新手友好度 58/100
LuaLS/vscode-lua#172 · 1 条评论 ·
-
难度 4/5 3-5 天 新手友好度 35/100
LuaLS/vscode-lua#170 · 1 条评论 ·
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 78/100
components-web-app/docs#307 ·
-
难度 2/5 1-3 小时 新手友好度 78/100
localstack/localstack-mcp-server#112 ·
维护者通常 1 天内回复
-
area:frontend kind:bug priority:p1 ready
难度 2/5 1-3 小时 新手友好度 85/100
维护者通常 1 天内回复
-
bug ready-for-agent
难度 2/5 1-3 小时 新手友好度 73/100
PhyberApex/kuroshiro#1687 ·
维护者通常 1 天内回复
-
Performance (Web Vitals) collector: LCP/FCP from background tabs are not discarded, inflating p75未关闭
难度 2/5 1-3 小时 新手友好度 74/100
umami-software/umami#4720 ·
维护者通常 3 天内回复