Reputation: 459
Installed
Auto completion not working properly.
It displays e.g. physics
, but not e.g. physics.addBody
, as shown in this screenshot
Any ideas?
Upvotes: 0
Views: 872
Reputation: 36
I've been having the same trouble. The only way I could get it to work is by splitting the API file into separate files and creating a module for each.
So you'd open up the corona_api.lua, and copy all of the physics functions into a new file called "physics" then inside this file you should do something like this;
module "physics"
function addBody() end
function getGravity() end
function newJoint() end
function pause() end
and so on...
you can find and replace the physics. at the start of the functions to make life easier.
Upvotes: 2