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
@ptrv I only saw the api docs now thanks to this issue :). I saw in the doc that
When valuetype is specified for a method or a function, it is used for auto-complete type guessing.
... e.g. if somefunc has valuetype of math, then after test = somefunc(), typing test.
will be treated as math. in auto-complete logic.
When inherits is specified for a class, it is used by auto-complete logic to suggest values,
functions, and methods from the base class(es) in addition to the methods from the current
class. You may specify several classes (inherits = 'a b') and complex class names
(inherits = 'b2.Shape'). The entire inheritance chain will be looked at during the analysis.
I have lots of Lua APIs, how could I generate file like
https://github.com/ptrv/company-lua/blob/master/lua/api/love2d.lua
?Is there any scripts to do this?
If there is a easy way to support other Lua libs, it would be pretty awesome! 😄
Thanks.
The text was updated successfully, but these errors were encountered: