LuaLS / LuaLS/lua-language-server
some cocos API is missing
未關閉
還沒有人認領這個 Issue。
feat/addon
- 主要語言
- Lua
- 星號
- 4.4k
- 分支
- 442
- PR 合併指標
- 30 天內沒有已合併 PR
描述
How are you using the lua-language-server?
Visual Studio Code Extension (sumneko.lua)
Which OS are you using?
MacOS
What is the issue affecting?
Completion
Expected Behaviour
hope the plugin has complete support for cocos API
Actual Behaviour
some cocos API not found in lua file that in plugins
Reproduction steps
When I use function "removeFromParent" from Node.lua, but I did not find this function in Node.lua that comes with the plugin
Additional Notes
No response
Log File
No response
貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
研究方向
首先定位 Cocos API 的內建 Node.lua 定義,並確認其中不存在 removeFromParent。只有當此 API 在那裡得到表示,且 Visual Studio Code 的程式碼補全能夠顯示它時,此 issue 才算完成;未提及特定的測試檔案。
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- lua
- 領域
- devtools
- Issue 類型
- 缺陷
- 難度
- 2/5
- 預估耗時
- 1-3 小時
- 活躍度
- 停滯
- 描述清晰度
- 基本清楚
- 新手友好度
- 42/100