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
TestA.lua
---@class TestA ---@field A number _G.TestA = {}
Main.lua
print(TestA)
如果只给class标记field,发现无代码提示,如下图
如果随意给class增加一个方法,结果会有代码提示 TestA.lua
---@class TestA ---@field A number _G.TestA = {} function TestA:Test() end
现在不确定是emmylua的特性如此,还是一个插件bug?
The text was updated successfully, but these errors were encountered:
35ecea9
No branches or pull requests
TestA.lua
Main.lua
如果只给class标记field,发现无代码提示,如下图

如果随意给class增加一个方法,结果会有代码提示
TestA.lua
现在不确定是emmylua的特性如此,还是一个插件bug?
The text was updated successfully, but these errors were encountered: