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
Hi, sorry if someone else opened an issue like this. I wasn't sure what to search for.
Describe the bug Autocomplete doesn't show myField in the method Root.Class:Print()
myField
Root.Class:Print()
To Reproduce
---@class Root Root = {} ---@class Root.Class ---@field myField string Root.Class = { myField = "" } function Root.Class:Print() print(self.) -- Autocomplete after self. doesn't show "myField" end
Expected behavior Autocomplete should show myField when typing self. in the method Root.Class:Print()
self.
Screenshots Autocomplete currently looks like this:
Autocomplete should look like this:
The text was updated successfully, but these errors were encountered:
I think you should use @field instead of @param, according to https://emmylua.github.io/annotations/field.html
@field
@param
Sorry, something went wrong.
Oops. Thanks. I've corrected my code snippet, but not the images. The bug remains the same
821ef7b
No branches or pull requests
Hi, sorry if someone else opened an issue like this. I wasn't sure what to search for.
Describe the bug
Autocomplete doesn't show
myField
in the methodRoot.Class:Print()
To Reproduce
Expected behavior
Autocomplete should show
myField
when typingself.
in the methodRoot.Class:Print()
Screenshots

Autocomplete currently looks like this:
Autocomplete should look like this:

The text was updated successfully, but these errors were encountered: