howdy folks,
long time user of sublime, first time posting a question. so hello
im currently in the middle of making a auto-complete for a openFrameworks add-on called ofxLua. it allows you to use Lua within openframeworks, its awesome, really nice. only problem is that it does not have any auto complete for when you take it into say sublime to code in. so i have been busy making one HERE
and whilst its ok and does an alright job, im looking to really weed out some problems now rather than later and get some questions answered to help with it.
currently, its just a massive table. as said, it works, but it too much i feel.
what i would like, is rather than copying and typing the changes from the documentation, i would like to see if i can access the openframeworks directory and it auto-changes for me using some lines of code.
so say that to make a circle is this ‘ofCircle’, in ofxLua in sublime its this ‘of.circle’. but so far what i am doing is copying and changing each function like that. it works, but it takes way too much time. how could i instead, read the openframeworks directory and just code in so that when i choose functions, it changes them automatically too the revised ofxLua version of ‘of.whatever’?
another question is using the dot operator. in lua, to use that its actually a ‘:’, but id like to try and get a dot operator going, so that when i want to load an image or whatever i could type in say ‘image:’ and after the ‘:’ has been put in it comes up with the relevent info needed for that object. much like any IDE really, it has this lovely type of auto-complete
just a few questions to ask to get me started
thanks to anyone who can help
lewis lepton