We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Visual Studio Code Extension (sumneko.lua)
Windows
Completion
正确提示表参数字段,如3.5.6版本所示
表参数提示在3.6.x版本失效了
如图
111111111
1111111111
The text was updated successfully, but these errors were encountered:
请提供演示代码,包含函数定义部分的
Sorry, something went wrong.
@sumneko 之前在公司,bug信息写太简略了,不好意思
-- a.lua 文件
---@class TestMiniGames local MiniGames = {} ---玩射鸟(damage:炮弹正中伤害,必须是偶数,默认为2,偏斜命中伤害为其一半;cout:炮弹数量,默认为3;health:怪物生命值) ---@param gameParam {damage: integer, count: integer, health:integer} function MiniGames:PlayShootBird(gameParam) end return MiniGames
-- b.lua 文件
---@type TestMiniGames local miniGame miniGame:PlayShootBird({dam})
最新版补全提示如下:
1.5.6版本补全提示如下:
2c7286d
No branches or pull requests
How are you using the lua-language-server?
Visual Studio Code Extension (sumneko.lua)
Which OS are you using?
Windows
What is the issue affecting?
Completion
Expected Behaviour
正确提示表参数字段,如3.5.6版本所示
Actual Behaviour
表参数提示在3.6.x版本失效了
Reproduction steps
如图
Additional Notes
111111111
Log File
1111111111
The text was updated successfully, but these errors were encountered: