You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Creating a table class including functions should not autocomplete other table fields inside them, but the actual local/globals values.
Actual Behaviour
Its strange, because it works sometimes.
Reproduction steps
---@classtest_class---@fieldtest_fieldfun(s: string): integer---@fieldtest_field_2fun(s: integer): string---@paramdtest_classfunctiontest_function(d)
-- Do stuffendtest_function({
test_field=function(s)
-- check it never autocomplete test_field_2 instead of the global/localsend,
})
Additional Notes
None
Log File
None
The text was updated successfully, but these errors were encountered:
How are you using the lua-language-server?
Visual Studio Code Extension (sumneko.lua)
Which OS are you using?
Linux
What is the issue affecting?
Completion
Expected Behaviour
Creating a table class including functions should not autocomplete other table fields inside them, but the actual local/globals values.
Actual Behaviour
Its strange, because it works sometimes.
Reproduction steps
Additional Notes
None
Log File
None
The text was updated successfully, but these errors were encountered: