Great update !
I re-started from scratch this morning and found out how to make the whole thing work better !
There still are problems with gc being understood as a local variable in paint functions (but at least there is parameters-helping once you wrote the things, now)
Again, same things with D2Editors, for example. The Lua plugin doesn't understand the class() system (we can't really blame it for that) and won't know that some variable is a D2Editor and thus accepts the methods defined for the auto-completion :(
So, if you want to see autocompletion and parameters (and that works for everything in the API), just put the global name (for example D2Editor:setWordWrapWidth(...) then just remplace "D2Editor" by your real variable name :-) )
(BTW, there are now much less files needed, it's way cleaner)
The physics engine is there too, but not finished yet. (it's a lot of work !)
I'll update it when I can but here is the new version for now. (just delete and replace the old folder with this one)
(Also, go to Settings -> Lua -> check the Add additionnal completions box, it might help)
Remember that you can Ctrl-Click a method to access its declaration and see more about it.
Ctrl-Q over a word makes it search on Inspired-Lua if it can so you can get its full documentation.
If you have troubles seeing the updated things, do : File -> Invalidate Caches and restart.
If you want to help by completing the physics engine API, you're welcome to do so in the physics.lua file ;)