LuaLS / LuaLS/lua-language-server
requiring file with multiple|tuple return
オープン
まだ誰も着手していません。
- 主要言語
- Lua
- スター
- 4.4k
- フォーク
- 442
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
Zero-K uses multiple|tuple return e.g.
drone_defs.lua
......
return carrierDefs, thingsWhichAreDrones, unitRulesCarrierDefs
--carrierDefs is correct
--thingsWhichAreDrones and unitRulesCarrierDefs are unknow
local carrierDefs, thingsWhichAreDrones, unitRulesCarrierDefs = VFS.Include("LuaRules/Configs/drone_defs.lua")
but in default settings LuaLS only detect the first return value and left others unknow.
Can you make a setting to enable it?
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
Start by reproducing the issue with drone_defs.lua and the VFS.Include call shown in the report, checking how LuaLS handles the three returned values. Trace the require/include analysis entry point and identify the relevant setting path; done means the second and third assigned values are recognized without breaking the existing first return value.
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- lua
- 領域
- devtools
- issue の種類
- 機能追加
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 35/100