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 ·
-
難度 4/5 3-5 天 新手友好度 35/100
LuaLS/vscode-lua#170 · 1 則留言 ·
相似的 Issue
-
b:minor bug
難度 2/5 1-3 小時 新手友好度 76/100
software-mansion/argent#1698 ·
維護者通常 1 天內回覆
-
e2e-failure ready-to-code
難度 2/5 1-3 小時 新手友好度 72/100
redhat-developer/rhdh-plugin-export-overlays#4624 · 1 則留言 ·
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 82/100
better-auth/better-auth#12132 · 1 個 reaction ·
維護者通常 1 天內回覆
-
automation missing-model model-sync provider:tinfoil
難度 2/5 1-3 小時 新手友好度 68/100
anomalyco/models.dev#12053 ·
維護者通常 1 天內回覆
-
o8 next debug build aborts on Glass to Dark appearance switch (nil identifier messaged before check)未關閉bug
難度 2/5 1-3 小時 新手友好度 78/100
hurttlocker/o8#5112 ·