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
When I define a variable that links to some love-module, autocomplete will work with this variable and it's awesome! But if it is a global variable which is defined from separate file, autocomplite will not work. :( I realy want to use a global reductions for all my project. Like this:
This is not possible, because it would require to statically analyze the complete project structure... Lua doesn't have a way to delimit the paths where you can require files nor what files make up a project, so that is too complex to say the least.
Anyway this package only provides an object with all the data regarding the love module, but the actual autocomplete and static analysis happens in autocomplete-lua so if you really want this feature you should ask over there...
When I define a variable that links to some love-module, autocomplete will work with this variable and it's awesome! But if it is a global variable which is defined from separate file, autocomplite will not work. :( I realy want to use a global reductions for all my project. Like this:
The text was updated successfully, but these errors were encountered: