Hi,
I’m trying to make the auto-completion work with my class, but I can’t find a way to make auto completion know that “this class is a child of that class”.
My first attempt :
Using the class function from : http://lua-users.org/wiki/SimpleLuaClasses
I get the following.
“NOTE, I have added a function called new() which does the same thing as metatable.__call, since in another post, you said metatable.__call wasn’t supported : http://forums.coronalabs.com/topic/37493-class-autocompletion-and-custom-sdk/”
As you see from the screenshot, function doStuff is not proposed.
My Second attempt :
Using the simplistic class system proposed by the book “Programming in Lua” (http://www.lua.org/pil/16.2.html)
If I do a very simple class it works just fine.
But If I do inheritance with a second class, then the autocompletion breaks :
So, I was wondering, what is the OOP system suggested for Glider to understand ?
Thanks !
Simon